0% found this document useful (0 votes)
44 views2 pages

Practical: 14 Aim:Print Number From 1 To 10 Using: A. While Loop B. Do-While Loop. Program: A:Input

This document describes a programming practical to print numbers from 1 to 10 using a while loop and do-while loop. The program first uses a while loop to print the numbers, then uses a do-while loop to print the numbers, and confirms that both loops successfully printed numbers from 1 to 10 as required.

Uploaded by

Jasvinder kour
Copyright
© © All Rights Reserved
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)
44 views2 pages

Practical: 14 Aim:Print Number From 1 To 10 Using: A. While Loop B. Do-While Loop. Program: A:Input

This document describes a programming practical to print numbers from 1 to 10 using a while loop and do-while loop. The program first uses a while loop to print the numbers, then uses a do-while loop to print the numbers, and confirms that both loops successfully printed numbers from 1 to 10 as required.

Uploaded by

Jasvinder kour
Copyright
© © All Rights Reserved
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/ 2

ROLL NO 9043/18

DATE: 10-04-2020

PRACTICAL : 14

AIM:PRINT NUMBER FROM 1 TO 10 USING:

A. WHILE LOOP
B. DO-WHILE LOOP.

PROGRAM:

A:INPUT:

OUTPUT:
B:INPUT:

OUTPUT:

RESULT: hence,print number from 1 to 10 using while and do while


loop successfully.

You might also like