answersLogoWhite

0

CLS

PRINT "PROGRAM: Print squares of all even numbers from 1 to 20"

PRINT

PRINT "number", "squared"

PRINT

FOR number% = 1 TO 20

IF number% MOD 2 = 0 THEN

PRINT number%, number% * number%

END IF

NEXT

END

User Avatar

Wiki User

16y ago

What else can I help you with?

Related Questions

WAP to print even numbers upto 20 and find the total in Q-Basic?

cls total=0 for i=0 to 20 step -2 total = total+i print i ; next i print "total is " total end send by tripti


How do you solve this program wap to print sum of a digit of an inputed number?

wap to print all the arnstrong no. between 100&1000


WAP to print esquare 10 natural number?

yo yo as


A c program to generate even numbers up to 50?

#include<stdio.h> #include<conio.h> void main() { int i; for(i=1;i<=50;i+=2) { printf("\t %d", i); } getch(); }


WAP to print in c program in 0 10 010kzvcs?

#include <stdio.h> int main (void) { puts ("in 0 10 010kzvcs"); return 0; }


What is a wap code?

Samsung s5233 wap code


How do i get wap on my phone?

To get wap on your mobile phone, simply get in touch with your service provider. The provider will give you instructions on how to get wap.


What is the full form of wap?

WAP is Wireless Application Protocol


What are the feature of WAP?

What are the feature of WAP?"


What is Fetty Wap's occupation?

Fetty Wap is a/an Rapper singer songwriter


Wap to take a number from the user and print its square if the number is even otherwise incase of odd number print its cube?

#include<iostream> using namespace std; int main(void) { int a; int b; { cout << "Please enter a number: "; cin >> a; b = a%2 == 0 ? a*a : a*a*a; cout << "The result is: " << b << endl; } return 0; } - - - //Alternative #include<iostream> #include<cmath>


When was Fetty wap born?

Fetty Wap was born on June 07, 1991