Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.
Login
Login
OnlineGDB Q&A
Questions
Unanswered
Tags
Ask a Question
Ask a Question
faradays law of electro magnetic induction
0
votes
asked
Nov 8, 2018
by
anonymous
1
flag
#include<stdio.h>
int main()
{
float E=0,N,A=0,B,b,T,X=0,Y=0,Z=0,s;
X=b-B;
A=s*s;
Y=A*X;
Z=Y/T;
E=N*Z;
printf("enter the values of \n N,s,B,T,b\n");
scanf("%f%f%f%f%f",&N,&s,&B,&b,&T);
printf("the value of E is %f",E);
return 0;
}
Please
log in
or register to answer this question.
1 Answer
0
votes
answered
Mar 25, 2020
by
Alan Sampson
(
440
points)
Move the data collection before the calculations:
https://onlinegdb.com/HkDjoXdIL
Please
log in
or register to add a comment.
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and receive answers from other members of the community.
...