0% found this document useful (0 votes)
75 views

Program Multtable Var X, Y: Byte Begin Writeln ('Enter Two Numbers From 1-9') Readln (X) Readln (Y) Writeln (X Y) End

This program asks the user to input two numbers between 1-9, multiplies those numbers together, and displays the result. It then contains a nested for loop that calculates and displays the multiplication table from 1 to 10 in a 10x10 grid with tabs between each number.

Uploaded by

Mhai Mabanta
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
75 views

Program Multtable Var X, Y: Byte Begin Writeln ('Enter Two Numbers From 1-9') Readln (X) Readln (Y) Writeln (X Y) End

This program asks the user to input two numbers between 1-9, multiplies those numbers together, and displays the result. It then contains a nested for loop that calculates and displays the multiplication table from 1 to 10 in a 10x10 grid with tabs between each number.

Uploaded by

Mhai Mabanta
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

PROGRAM MultTable; VAR X, Y : Byte; Begin WriteLn('Enter two numbers from 1-9'); ReadLn(X); ReadLn(Y); WriteLn(X*Y); End.

program ass8; var i,j,store:integer; const tab=#9; begin for i:= 1 to 10 do begin for j:= 1 to 10 do begin store:= i*j; write(store,tab); end; writeln(); end; end. program ass8; var i,j,store:integer; const tab=#9; begin for i:= 1 to 10 do begin for j:= 1 to 10 do begin store:= i*j; write(store,tab); end; writeln(); end; end.

program ass8; var i,j,store:integer; const tab=#9; begin for i:= 1 to 10 do begin for j:= 1 to 10 do begin store:= i*j; write(store,tab); end; writeln(); end; end.

You might also like