C activities
3
C Programming & Data Structure Activities
-
Upload
shujaat-abbas -
Category
Investor Relations
-
view
94 -
download
0
Transcript of C activities
1. Input a number, print numbers from 1 to n. Hint: Take input a number which determines that how much numbers you want to print , use for loop to print numbers form 1 to given numbers by input.
2. Create an array, print squares of numbers from 1 to 10 in that array. Hint: create an array, use for loop. Multiply numbers to make square of those numbers.
3. Write a c program to print multiplication table.
Hint: Enter range of multiplied numbers. Use for loops to repeat numbers . Give range in first for loop of entered range number variable