Main | Registration | Login | RSS | Saturday, 2024-04-20, 8:12 AM |
PiEcE oF InFoRmAtIoNs | |
Welcome Guest |
|
The Basic Input/ Output Statements of CUsually our program involves three main operations. The first one is the input operation that uses input functions such as scanf, getch(), gets(), getche(), getchar() and others. The second is the process operation. In this part of our program, we can see some equations that are calculated, conditions which are evaluated, and tasks being performed. The third part is the output operation. Here, we use output statement such as printf() function, puts(), putch(), putchar functions and other output statement functions. To learn this technique, we can jump right in and type our first program that involves these three main operations. *** Example 1
Algorithm:
Solution: Source code --------------------------------------------------
-------------------------------------------------- Output
***Example 2
Algorithm:
Solution: Source code --------------------------------------------------
-------------------------------------------------- Output
*** Example 3
Algorithm:
Solution: Source code --------------------------------------------------
-------------------------------------------------- Output
Programming Exercises
|
|
Copyright MyCorp © 2024 |
Make a free website with uCoz |