DISPLAY Type in a number or zero to stop
Q. Given the following pseudo code: Use variable: number of type real DISPLAY …
Q. Given the following pseudo code: Use variable: number of type real DISPLAY …
Q. Given the following pseudo code: Use variables: category of type character …
Q. Given the following pseudo code: Use variables: mark of type integer If mark…
Q. Given the following pseudo code: Use variables: choice, of the type characte…
Q. Given the following pseudo code: Use variables sum, product, number1, number…
Q. To find factorial of a given number. Answer :- Algorithm :- 1. Start 2. Inpu…
Q. To find sum of n given numbers. Answer :- Algorithm :- 1. Start 2. Sum = 0 3…
Q. To print to print cubes of first n numbers. Answer :- Algorithm:- 1. Start 2…
Q. To print the cube of a number. Answer :- Algorithm:- 1. Start 2. Input a num…
Q. To print squares of first n numbers. Answer :- Algorithm:- 1. Start 2. Input…
Q. To accept numbers till the user enters and then find their average. Answer :…
Q. To accept 5 numbers and find their average. Answer :- Algorithm :- 1. Start …
Q. To print square of a number. Answer :- Algorithm :- 1. Start 2. Input a numb…
Q. To print n odd numbers. Answer :- Algorithm :- 1. Start 2. Input n 3. For I …
Q. To print all natural numbers up to n. Answer :- Algorithm :- 1. Start 2. Inp…
Q. To categorise a person as either child (<13), teenager (> 13 but <2…
Q. To check if a number is an odd or even number. Answer :- Algorithm :- 1. Sta…
Q. To check if a number is a positive or negative number. Answer :- Algorithm :…
Q. To check whether a year is a leap year or not. Answer :- Algorithm :- 1. Sta…
Q. To calculate the simple interest. Answer :- Algorithm :- 1. Start 2. Input p…