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

Step by step

Solved in 4 steps with 2 images

Blurred answer
Knowledge Booster
Running Time of Application
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.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT