Question: I am trying to complete a C-Sharp program yet having trouble I would like help BUT WITHOUT using convert.int32 and instead just using: Strings, parse,

I am trying to complete a C-Sharp program yet having trouble

I would like help BUT WITHOUT using convert.int32 and instead just using: Strings, parse, int, dec or any other BASIC commands.... My needs are:

Ask the user to input a number:

  • If the number is divisible by 2 then print out the next 3 numbers that are divisible by 2 in order.
  • If the number is divisible by 3 then print out the next 3 numbers that are divisible by 3 in order.
  • If the number is divisible by 5 then print out the next 3 numbers that are divisible by 5 in order.
  • If the number is divisible by 7 then print out the next 3 numbers that are divisible by 7 in order.
  • If the number is divisible by 8 then print out the next 3 numbers that are divisible by 8 in order.
  • If the number is divisible by 13 then print out the next 3 numbers that are divisible by 13 in order.
  • Otherwise end the program.

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!