Question: can you help me do it in gedit 1.4 Programming project, Chapter 4, project 4 Write a program that reads an integer entered by the

can you help me do it in gedit

can you help me do it in gedit 1.4 Programming project, Chapter4, project 4 Write a program that reads an integer entered by

1.4 Programming project, Chapter 4, project 4 Write a program that reads an integer entered by the user and displays it in octal (base 8) and in hexadecimal (base 16): Enter an integer number: 1953 In octal, your number is: 3641 In hexadecimal, your number is: 7a1 1.5 Programming project (lst question in a software engineer job interview I) Write a program which reads a positive integer number N. Your program should do the following for all the numbers less than N: A. Print the number as is, if the number is not dividable by 3 or 5. B. print the statement "Divisible by 3" if the number is dividable by 3. C. print the statement "Divisible by 5" if the number is dividable by 5. D. print the statement "Divisible by 3&5" if the number is dividable by 5 both 3. Example: N: 20 Your program should print: 1 2 Divisible by 3 4 Divisible by 5 Divisible by 3 7 8 Divisible by 3 Divisible by 5 l l Divisible by 3 l3 1 4 Divisible by 3&5 l 6 l7 Divisible by 3 l9

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!