Discussions Events Study Material Jobs
Write a Program that inputs a number in main function and passes the number to a function. The function displays table of that number

Search Books

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



Write a Program that inputs a number in main function and passes the number to a function. The function displays table of that number

Write a Program that inputs a number in main function and passes the number to a function. The function displays table of that number

Description: #include #include void table (int n); void main ( ) { int num; clrscr ( ); cout <<”Enter a number: “; cin >> num; table(num); getch ( ); } void table (int n) { int c; for (c = 1; c<=10; c++) { cout<<” * “ << c << “ = “ << n * c <
Output:
Enter a number: 3
3 * 1 = 3
3 * 2 = 6
3 * 3 = 9
3 * 4 = 12
3 * 5 = 15
3 * 6 = 18
3 * 7 = 21
3 * 8 = 24
3 * 9 = 27
3 * 10 = 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

120G2024

Universal Gravitation - Chapter 13

57H2019

Lecture 12 - Query Decomposition and Data localization - Distributed Database Design

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

4H2024

31H2024

Big Ideas for Little Kids: Teaching Philosophy through Children's

Children's Illustrated Dictionary

Proteus Circuit - LED Simple pdsprj File

42J2024

Lonely Planet Guide

Equilibrium - Free body diagram - Engineering Statics

[Lonely Planet] Pacific Northwest's Best Trips 2e 2013

Signals and Systems Second Edition

Assignment 8611 Allama Iqbal Open University Assignment

Labs : VLSI

Discrete Mathematics and All Notes

142G2024

Communication Skills

Slides - Lecture 6 - Applied Thermodynamics

Proteus Circuit - Parallel pdsprj File

Oral Anatomy, Histology and Embryology by G R Holland & Bernard J Moxham

34J2023

Lecture 12 - Machining Processes - Manufacturing Processes

Basic Engineering Circuit Analysis Chapter 5

Computer Graphics Past Paper MCQs

61J2024

Kitab ul Arbaeen Islamiat

44E2024

Lecture Notes On Design And Analysis Of Algorithms by Mr. S.K. Sathua, Dr. M.R. Kabat and Dr. R. Mohanty

The Physics of Wall Street by James Owen Weatherall

Moment and Couple in 3D - Engineering Statics

chapter 44 nuclear structure

Engineering Ethics Concepts and Cases

59J2024

Oral Anatomy, Histology and Embryology by G R Holland & Bernard J Moxham

Growing Elite Marijuana

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

28J2024