write a program to store values in four integer variables without scanf() you must calculate and print their average write one output
Answers
Step 1: Write the Source Code: Enter the following source codes using a programming text editor (such as NotePad++ for Windows or gEdit for UNIX/Linux/Mac) or an Interactive Development Environment (IDE) (such as CodeBlocks, Eclipse, NetBeans or MS Visual Studio - Read the respective "How-To" article on how to install and get started with these IDEs).
Do not enter the line numbers (on the left panel), which were added to help in the explanation. Save the source file as "Hello.c". A C source file should be saved with a file extension of ".c". You should choose a filename which reflects the purpose of the program.
1
2
3
4
5
6
7
8
9
/*
* First C program that says Hello (Hello.c)
*/
#include <stdio.h> // Needed to perform IO operations
int main() { // Program entry point
printf("Hello, world!\n"); // Says Hello
return 0; // Terminate main()
} // End of main()
for more information u can search in google...
thank you (*_*)
Answer:
hi are you from nasr school hyderabad
Explanation: