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
genjiro irakhi
NA
1
803
c# release the simple code...begining...
Apr 30 2016 8:52 AM
hello im genjiro from indonesia...
im talking the mehtod for c# console...
the my code building this..
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ConsoleApplication1
{
class Program
{
static void Main(string[] args)
{
Boolean loop = true;
do{
try
{
Console.WriteLine("Masukkan Nilai 1 :");
int x = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Masukkan Nilai 2 :");
int z = Convert.ToInt32(Console.ReadLine());
int hasil = x * z;
Console.WriteLine("\nhasil {0}*{1}={2}",x,z,hasil);
}
catch (DivideByZeroException divideZeroExp)
{
Console.WriteLine("Notice" + divideZeroExp.Message);
Console.WriteLine("Operasi Gagal Coba lagi...");
}
catch (FormatException formExp)
{
Console.WriteLine("Notice" + formExp.Message);
Console.WriteLine("Format Masukan salah Coba lagi....");
}
}
while(loop);
}
}
}
ok this my question is..
how to change the operation to multi function operation likes this div,mul,add dll...
ok thanks im wait the answer...
Jiro...
Reply
Answers (
1
)
SQL Unit Test
alphabet and number counts using method count()