Enter an integer n from the keyboard 1. Check if n is divisible by 3 then print the content "n is a multiple of 3" If n is divisible by 5, print "n is a multiple of 5". If n is divisible by both 3 and 5, print the message "n is a multiple of 15". 2. Sum from 1 to n and print the result 3. print out a triangle * with the number of rows and columns of n For example, input n as 5, then we have a triangle * as follows ** *** **** **
Enter an integer n from the keyboard 1. Check if n is divisible by 3 then print the content "n is a multiple of 3" If n is divisible by 5, print "n is a multiple of 5". If n is divisible by both 3 and 5, print the message "n is a multiple of 15". 2. Sum from 1 to n and print the result 3. print out a triangle * with the number of rows and columns of n For example, input n as 5, then we have a triangle * as follows ** *** **** **
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
1st Edition
ISBN:9780357392676
Author:FREUND, Steven
Publisher:FREUND, Steven
Chapter2: Formulas, Functions, And Formatting
Section: Chapter Questions
Problem 9AYK
Related questions
Question
masm32
Enter an integer n from the keyboard
1. Check if n is divisible by 3 then print the content "n is a multiple of 3" If n is divisible by 5, print "n is a multiple of 5". If n is divisible by both 3 and 5, print the message "n is a multiple of 15".
2. Sum from 1 to n and print the result
3. print out a triangle * with the number of rows and columns of n For example, input n as 5, then we have a triangle * as follows ** *** **** **
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 4 steps with 2 images
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT