10 QBASIC PROGRAMMING 1. Write a program to print the sum of the two numbers passed as parameters 2. Write a program to calculate the area of a circle where radius is passed as a parameter 3. Write a program to calculate the volume of a cylinder where pi=3.14 declared as a global variable and radius of its base is passed as the parameter. 4. Write a program to calculate the simple interest where the principal, time and rate are passed as parameter 5. Write a program to determine whether a man has profit or loss where cost price and selling price are given 6. Write a program to convert calcius temperature to Fahrenheit temperature 7. WAP to print the following patterns 1 12 123 1234 12345 1 22 333 4444 55555 11111 2222 333 44 5 54321 5432 543 54 5 12345 1234 123 12 1 55555 4444 333 22 1 KAMAL KAMA KAM KA K NEPAL EPAL PAL AL L L AL PAL EPAL NEPAL PROGRAM ROGRA OGRG C CO COM COMP COMPU COMPUTE 8. Write a progra...
how will we write a program to print the following series where N is the input: 1, 3, 6, 10, 15....... N terms CLS INPUT "Enter the no. of terms";N a=1 for i=2 to N+1 print a, a=a+i next i