This is not a question so you do not need to use a question mark at the end of your sentence.
write a program in C that prompts the user with the following lines: a) Add two integers c) Compare two integers for the larger t) Test an integers for odd or even q) Quit
if n MOD 2 == 0 THEN Write ("Even");
Write a program to find the number and sum of all integers from 100 to 300 that are divisible by 11
{Area s the area of cube} {Length is the length of one side of the cube} program AreaofCube; var Area,Length:real; begin write('Enter the length of cube: '); readln(Length); Area:=6*(Length*Length); writeln('The area of cube is ', Area, ' cm^2.'); end.
the age of 2 friends determine if the age greater than 18 if not write the output statment you can vote if younger than 18 print you should be in school
if n MOD 2 == 0 THEN Write ("Even");
write a program in C that prompts the user with the following lines: a) Add two integers c) Compare two integers for the larger t) Test an integers for odd or even q) Quit
Write a program to find the number and sum of all integers from 100 to 300 that are divisible by 11
{A program to compute the area of a triangle} {by Ogboin W. Meshach} Var; b,h:real; BEGIN Writeln('Triangle'); Write('Base: '); Readln(base); Write('Height: '); Readln(height); area:=0.5*base*height; Writeln('Area: ', area :0:2); End.
int x= 1; int y= 2;
a=153 a=n%10;
Write a program in C for showing working of different logical operator in C.Your program should guide users with proper message/menu on the console. (5 Marks)
Declare Real price=49.95 Display "the original price." Input item original price Display "price"
it would help you logically.. and would simply introduce to you what is programming.. and about coding.. as having knowledge about this turbo pascal.. it is like studying first the logic needed in coding... ^^. Well, this question implies two things. First, the programming language Pascal is good because it is simple and easy to learn, compared to other languages e.g. C or Java. The code written in Pascal is also easy to read. There is less bugs (mistakes) when we write programs in Pascal, again compared to C. Second, the Turbo Pascal (software package) is a good environment for us to conveniently write Pascal programs. There are shortcut keys to compile and run the program. There are tools for debugging (correcting mistakes) in our code, too.
i love u darling
#include<stdio.h> main() { int i; for(i=1;i<=50;i++) { if (i%5!=0) printf("\n %d",i); } }
What for? There is only a 154 inside that is divisible by 77...