Académique Documents
Professionnel Documents
Culture Documents
TITLE 1. Algorithms and Flow charts 2. Flow chart symbols a. Examples for Algorithms and Flow charts 3. Introduction To Programming 4. Data Types 5. Data a. Numeric - data b. Non- numeric data 6. Operators 7. Expression 8. Structure of a C++ Program a. Types of instructions b. Structure Statements 9. Comments 10. Simple C++ Programs 21 PAGE NO 1 2 3 7 9 10 10 12 13 16 17 17 18 20
11. Input and Output Instructions and Data Type declaration instructions Programs 22
Page Number
21
Problem : Write a C++ program to print the students number, Name, age and Phone number on the monitor. PROGRAM-3 : 22
Problem: Write a C++ program which accepts one integer , one float and one character from keyboard and display them on monitor. PROGRAM-4: Problem : Write a C++ Program to find Sum and Average of two integer numbers. PROGRAM-5: problem : Write C++ Program to find Sum and Average of three numbers. PROGRAM-6 ( Home work ) Write a C++ program to find the difference between two numbers. PROGRAM-7: ( Home work ) Write a C++ program to find the product of three numbers. PROGRAM-8: Problem : Write a C++ program to find area of a circle. PROGRAM-9: Problem : Write a C++ program find area of a rectangle. PROGRAM-10: Problem :Write a C++ Program to find area of a square. 25 24 24 23 23 23 22
PROGRAM - 11 : Problem : Write a C++ Program to display Pay slip of an employee. PROGRAM 12: Problem: Write a C++ program to find Number is MAX or MIN PROGRAM 13: Problem : Write a C++ program to find the given number is ODD or EVEN PROGRAM 14: Problem: Write a C++ program to find the Grade of student PROGRAM 15: ( Home work ) Problem : Write a C++ program to find the largest among three numbers. PROGRAM :16.
25
27
27
28
28
29
Problem : Write a C ++ program which accepts two numbers and accepts one operator to perform the respective arithmetic operation using switch case. PROGRAM : 17 Problem : Write a C++ program to print natural numbers from 1 to 30 using for loop PROGRAM :18 Problem : 31 31
Write a C++ program to print natural numbers from 1 to 30 using while loop 32
PROGRAM :19
Problem : Write a C++ program to print natural numbers from 1 to 30 using do - while loop PROGRAM : 20 Problem : Write a C++ program to display first 10 Odd numbers using for loop PROGRAM: 21 Problem : Write a C++ program to display first 10 even numbers using for loop PROGRAM: 22 Problem : Write a C++ program which accepts 5 subjects marks, and calculate the total marks using array concept. PROGRAM: 23 36 34 32 32
Problem : Write a program to print K.K.U. is very good university using function1 and Saudi is very good country using function2 and call the functions in the main program.
*****END*****