Discussions Study Material
Write a Program that inputs two numbers in main ( ) function passes these numbers to a function. The function displays the maximum number

Search Books

For Better Search Results Only Write Subject OR Topic Name Like ( Math , Physics , Database , Algorithm ).



Write a Program that inputs two numbers in main ( ) function passes these numbers to a function. The function displays the maximum number

Write a Program that inputs two numbers in main ( ) function passes these numbers to a function. The function displays the maximum number

Description: #include #include void max (int a, int b); void main ( ) { int x, y; clrscr (); cout <<"Enter two numbers"; cin<>y; max (x, y); getch ( ); } void max (int a, int b) { if (a > b) cout<<”Maximum no is “<
Output:
Enter two numbers 20 30
Maximum no is 30


Please Login / Signup to Continue Download Study Material


Login to Continue Download
Disclaimer

Uniwaly does not host or upload any files including books, notes, past papers, or other educational materials. All content is provided through publicly available links from third-party websites such as Google Drive, Dropbox, and other file-sharing platforms. We respect copyright laws and recommend users to only download content that is freely available or shared with permission. If you believe any file violates copyright, please contact us immediately for review.


More Study Materials

Islamiyat - Islamic Study

Discrete Mathematics and All Notes

65J2024

58J2024

Chapter 11 - Higher Order Differential Equations - Differential Equations

Partial Differential Equations(P.D.E.)

Wave Motion

52H2024

Lecture 0 B - Basic Manufacturing Processes - Manufacturing Processes

Lab Graphs - Book 1 EDC 2 Microsoft Excel File - Electric Devices

Labs of Electrical Workshop

2J2025

Atlas of World History

10H2024

Function Generator

Gardening for Insects

Chapter 3 : Electronic Devices & Circuits By Robert L. Boylestad Louis Nashelsky

Destiny Disrupted: A History of the World Through Islamic Eyes

Industrial Control system

4000 Essential English Words 6 Page 3 4000 Essential English Words

Arabic Urdu English Bhool Chaal

8J2025

Improve Your English: English in Everyday Life

Lecture 11 - Machining Processes - Manufacturing Processes

Thailand

To study full wave rectification.

Lecture 10 - CNC And GCODE - Manufacturing Processes

71G2024

Programming Fundamentals - C++ Programming - Fundamentals of C++ Programming

0429 MASS EDUCATION LITERACY

0427 PAKISTANI ADAB-I

28J2024

32H2024

Control Systems Engineering - Norman S. Nise - Seventh Edition

10J2025

Lecture 12 - Machining Processes - Manufacturing Processes

chemistry experiments for children

21H2024

18F2025

Swami Vivekananda - A Biography by Swami Nikhilananda