Question #3:
Write a C program that repeatedly asks the user to enter real numbers from the keyboard then it calculates and prints the average of the entered numbers. The program continuously asks the user till the user responds by ‘N’.
#include int main(void){ //Declare required variables //code for reading real numbers continuously till the user responds by ‘N’ //code for calculating the average of the entered numbers and printing it printf("< your="" name="">\n"); printf("< your="" id="">\n"); return 0;}
int main(void)
{
//Declare required variables
//code for reading real numbers continuously till the user responds by ‘N’
//code for calculating the average of the entered numbers and printing it
printf("< your="" name="">\n");
printf("< your="" id="">\n");
return 0;
}
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here