Write a program to display the output below: You may input number of rows and columns.
*
* * *
* * * * *
* * * * * * *
* * * * * * * * *
* * * * * * * * * * *
Write a program using two for loops to produce the following pattern of asterisks
*
**
***
****
*****
******
*******
********
To print the prime numbers between 1 and 1000.
Write a program using two for loops to produce the following pattern of asterisks
********
********
********
********
Write a c Program that will print the number series vertically on screen:
10 1 9 2 8 3 7 4 6 5
Enter 2 numbers and print them out. Then print the next 10 numbers in the sequence, where the
next number is the sum of the previous two.
Write a C program that generate the number series below.
1 2 4 7 11 16 22 29 37 46
Input N integers(Ask from the user how many nos. he/she wants to input). Determine and
print the sum of all nos., the average of all numbers, how many odd nos. were inputted,
how many even nos. were entered and how many zeroes inputted.
Enter your name (first name, family name) and a number then print that number of copies of
your name.
Write a C++ program that do the following:
• Declare an array of size 10 double.
• Ask the user to enter 10 double and store them in the array.
• Print the maximum element in the array.
• Print all odd numbers in the array.
• Count and print odd numbers in the array.