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<>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


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

36H2024

Circuit Analysis and Design Lab

Lecture 6 B - METAL FORMING CONTINUE - Manufacturing Processes

Algorithmic Mathematics

27H2023

غیر مسلموں سے تعلقات کی نوعیت

Artificial Intelligence Book in Urdu

How to make G-code File

30J2024

Lab - Creating Gcode of a picture in Inkscape - Manufacturing Process

39H2024

Display Number on Screen - Assembly Language Program

Chinese Language

Electrical Machinery Fundamentals

chapter 41 quantum mechanics

Lecture 1 - Casting and its types - Manufacturing Processes

26J2023

Digital Signal Processing - Principles , Algorithms and Applications Proakis & Dimitris G. Manolakis

144G2024

A College Student's Guide to Computers in Education

Building Arduino Projects for the Internet of Things

English All Chapters - ECAT Entry Test Preparation

Computer Networks 5th Edition

Lab Manuals - Experiment - CLAMPERS

Equilibrium of virtual Work - Engineering Statics

6G2020

Surah Furqan - Tarjama Notes

Improve Your English: English in Everyday Life

0414 Demography

12J2025

Assignment - Chapter 4 - Engineering Mechanics

Political Philosophy by Dudley Knowles

Lecture 13 - Non-Traditional Machining - Manufacturing Processes

Lecture 6 - Design Issues - Distributed Database Design

Digital Signal Processing ( UET All Lectures )

16H2024

40J2024

48E2024

Distributed Forces - External and Internal Effects of Beams - Engineering Statics

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