#include <conio.h> #include <math.h> #include <stdio.h> float Q1, Q2, R, F; void main () { clrscr (); const float e = 2.1, e0 = 8.85E-12; printf ("Input charge ball= "); scanf ("%E", &Q1); printf ("Input distation between charge= "); scanf ("%E", &R); printf ("Input strength= "); scanf ("%E", &F); Q2 = 4 * M_PI * e * e0 * R * R * F * 0.00001 / Q1; printf ("Charge of dust: %E", Q2); getch (); } 

Closed due to the fact that the question is too general for the participants Athari , VladD , Dmitriy Simushev , Suvitruf , Mike 18 December '15 at 7:30 .

Please correct the question so that it describes the specific problem with sufficient detail to determine the appropriate answer. Do not ask a few questions at once. See “How to ask a good question?” For clarification. If the question can be reformulated according to the rules set out in the certificate , edit it .

  • 7
    @AndreyZiLvova, According to the rules of the forum, questions should not be limited to the decision or the completion of student assignments for students. - BogolyubskiyAlexey
  • it’s all right now - AndreyZiLvova

1 answer 1

 {$N+} Uses Crt; Const e = 2.1; e0 = 8.85E-12; Var Q1, Q2, R, F: Single; Begin ClrScr; WriteLn ('Input charge ball = '); ReadLn (Q1); WriteLn ('Input distation between charge = '); ReadLn (R); WriteLn ('Input strength = '); ReadLn (F); Q2 := 4 * Pi * e * e0 * R * R * F * 0.00001 / Q1; WriteLn ('Charge of dust: ', Q2); ReadKey; End. 
  • @ Kovalsky many thanks - AndreyZiLvova Sep.