write a program to pass two numbers as parameters to a function which is used to swap the two
numbers.
Write a simple visual basic program to find the average of five numbers
Write a program to computer the value of 1500+1000-450*10+300
Display four patterns using loops) Use nested loops that display the following patterns in four separate programs.
Pattern A
123456
1 6
1 6
1 6
1 6
123456
Pattern B
1
123
12345
1234567
123456789
Pattern C
3
3 3
3 3 3
3 3
3
Pattern D
1
12
123
1234
12345
123456
Make a calculator using if-else-if else statement which perform the addition, subtraction, multiplication, division and remainder operations. Take values and operator from user on runtime. Use do while loop for user choice. Means after performing one operation program will ask from user “do you want to do another calculation(yes/no)? ”. If user press then user will enter number 1, number 2 and operator for calculation and if user press no then terminate the loop.
1. Write a C++ program that will find minimum number in an array?
1. Write a C++ program that will find maximum number in an array?
1. Write a C++ program that will add two single dimensional arrays elements using random numbers?
1. How to generate random number in C++, write a simple C++ program that will generate random number from 1 to 100?