Class Work: Pseudocode
Change the previous pseudocode to print only those even number in the same range (1 to 50)?
Class Work: Pseudocode
Change the previous pseudocode to print only those odd number in the same range (1 to 50)?
Think how the counter is initialized in this problem?
Class Work: Pseudocode
Write a pseudocode to compute the following sum:
1+1/2+1/3+1/4 + + 1/20
using Automatic Counter Loop?
Hint: Think about accumulation...
Class Work: Pseudocode
Write a pseudocode to compute the following sum:
1+1/2+1/3+1/4 + + 1/20
using Automatic Counter Loop?
Hint: Think about accumulation...
Class Work: Pseudocode
Write a pseudocode to compute and print out Factorial of 5?
Hint: Factorial 5 (5!) = 5*4*3*2*1
Class Work: Pseudocode
Write a pseudocode to compute the sum of 5 course marks for 7 students?
Hint: think about nested loops