Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

by c program Question 1: Write a C program that do the following: Ask the user four times to enter a number and if the

by c program image text in transcribed
Question 1: Write a C program that do the following: Ask the user four times to enter a number and if the number is multiple of 5 and multiple of 9 print "it is multiple of 5 and 9". Otherwise, print the remainder of the division by 5 and the remainder of the division by 9. Sample input/output: Enter a number: 5 The remainder of division by 5 = 0 The remainder of division by 9 = 5 Enter a number: 9 The remainder of division by 5 = 4 The remainder of division by 9 = 0 Enter a number: 15 The remainder of division by 5 = 0 The remainder of division by 9 - 6 Enter a number: 45 it is multiple of 5 and 9 Modify the question (don't lose the previous code) to ask the user to enter an integer number that represents the number of iteration

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

blur-text-image

Ace Your Homework with AI

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

Get Started

Recommended Textbook for

Conceptual Database Design An Entity Relationship Approach

Authors: Carol Batini, Stefano Ceri, Shamkant B. Navathe

1st Edition

0805302441, 978-0805302448

More Books

Students also viewed these Databases questions