Report Bug

Qus

What will be the output of the following algorithm for a=5, b-8, c=6 ?

Step 1: Start
Step 2: Declare variables a, b and c.
Step 3 Read variables a, b and c.
Step 4: 
	If a < b
		If a <c
			Display a is the smallest number.
		Else
			Display c is the smallest number.
	Else
		If b <c
			Display b is the smallest number.
		Else
			Display c is the smallest number
Step 5:Stop
Qus

a=5, b=8, c=6 के लिए निम्नलिखित एल्गोरिदम का आउटपुट क्या होगा?

Step 1: Start
Step 2: Declare variables a, b and c.
Step 3 Read variables a, b and c.
Step 4: 
	If a < b
		If a <c
			Display a is the smallest number.
		Else
			Display c is the smallest number.
	Else
		If b <c
			Display b is the smallest number.
		Else
			Display c is the smallest number
Step 5:Stop


A. a is the smallest number
B. b is the smallest number
C. c is the smallest number
D. stop


Solution
A. a is the smallest number



CCC Online Test 2021 CCC Practice Test Hindi Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Sarkari Exam Quiz