TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
James Boss011
NA
8
561
Multiplication Solution
Apr 8 2019 8:00 PM
So there are some parts of this solution I have done and some not. Can someone solve this solution? I also have the original way that it was for reference in this file. this is from visual studio from mac.
using
System;
namespace
Multiplicationtable {
class
MainClass {
public
static
void
Main(
string
[] args) {
//declare a variable for storing your input number
int
num;
Console.Write(
"Enter a number >> "
);
num = Console.Read();
//convert the number from string to numeric
//call your funtion with input argument is "num"
DisplayMultiplicationTable(num);
//freeze your screen so you can see result
Console.Read();
}
//your function will be coded here
private
static
void
DisplayMultiplicationTable(
int
num) {
//write your for loop from 2 to 10
//for each value, display the multiplication of the input number with the factor
for
(
int
factor = 2; xxxxx)
//modify the xxxxx
Console.WriteLine(xxxx);
//use the place holders method to display your results
}
}
}
Attachment:
untitled_folder_2.zip
Reply
Answers (
1
)
Xamarin.Android.Support.v7.AppCompat
To execute using do while loop