Discussions Events Study Material Jobs
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>>x>>y;
max (x, y);
getch ( );
}



void max (int a, int b)
{
if (a > b)
cout<<"Maximum no is "< else
cout<<"Maximum no is "< }


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

Discrete Mathematics and All Notes

Provincials of Elections 1937

Lecture 11 - Query Optimization - Distributed Database Design

125G2024

Lab Manuals - Experiment - Behavior of Rectifier Diode

Applied Mathematical Methods in Theoretical Physics

Sri Lanka 13e 2015

10 Bibion Ki Sachi Kahanian by Allama Nasiruddin Nasir Madni

Engineering Ethics Concepts and Cases

Plant Biotechnology and Genetics: Principles, Techniques

Lecture 3 - Distributed Database System (DDBS) - Distributed Database Design

Make a geometry on FUSION 360, generate GCODE file and run on SSCNC Simulator

18G2021

Chemistry Chapter 2 Part 2 ECAT Entry Test Preparation

Travels in a Tin Can

40E2024

General Knowledge All About Pakistan

Fundamentals Of Electric Circuits 9th Edition

Poetry of Physics and the Physics of Poetry by Logan, Robert K.

Lecture 1 - Casting and its types - Manufacturing Processes

Electrical Machines, Drives, and Power Systems 5th Edition

Chapter 18 Superposition and Standing Waves

43J2024

Modeling Structured Finance Cash Flows with Microsoft Excel

Chapter 22 Heat Engines, Entropy and the Second Law of Thermodynamics

Physical Pharmacy by Martin Alfred & Bustamante Р.

Dogar&#039;s Lecturer Guide Maths Subject Specialist PDF

Chemistry for Pharmacy Students: General, Organic and Natural Product Chemistry 2007 by Satyajit Sarker & Lutfun Nahar

26J2024

Basic Engineering Circuit Analysis Chapter 3

Python Programming: An Introduction to Computer Science

When the Moon Split: A biography of Prophet Muhammad

Testing

Hillbilly Elegy: A Memoir of a Family and Culture in Crisis

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

Lecture 4 - Which Technologies Are Used? - Data Mining

Management

Mastering Algorithms with C

Analog and Digital Communication

Computer Networking in Urdu by Zahid Sharjeel