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.

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;

}

1 Answer

0 votes
answered Mar 25, 2020 by Alan Sampson (440 points)

Move the data collection before the calculations:

https://onlinegdb.com/HkDjoXdIL

Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...