Answered step by step
Verified Expert Solution
Link Copied!
Question
1 Approved Answer

convert the code to scheme Example of 'compare two number using IF Condition' 1. program example; 2. var 3. num1, num2:integer; 4. begin 5. writeln;

convert the code to scheme
image text in transcribed
Example of 'compare two number using IF Condition' 1. program example; 2. var 3. num1, num2:integer; 4. begin 5. writeln; 6. Writeln; 7. write('Enter First number:"); 8. readin(num 1 ); 9. write('Enter Second number:'); 10. readin(num2); 11. writeln; 12. if num 1> num 2 then 13. begin 14. writeln('The First Number is greeter'); 15. end 16. else if num 2> num 1 then 17. begin 18. writeln('The Second Number is greeter'); 19. end 20. else 21. begin 22. writeln('The two Numbers are the same'); 23. end; 24. end. Output: Enter First number: 2 Enter Second number: 4 The Second Number is greeter ...Program finished with exit code 0 Press ENTER to exit console

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image
Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_step_2

Step: 3

blur-text-image_step3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students explore these related Databases questions

Question

Prove Theorem11.5.

Answered: 3 weeks ago