CONTOH SOURCE CODE MENGHITUNG SISI MIRING SEGITIGA
using System;
using System.Collections.Generic;
using System.Text;
namespace ConsoleApplication1
{
class Program
{
static double c;
static double a;
static double b;
static void Main(string[] args)
{
Console.Write("masukan besar a:");
a = Double.Parse(Console.ReadLine());
Console.Write("masukan besar b:");
b = Double.Parse(Console.ReadLine());
c = Math.Sqrt(a * a + b * b);
Console.Write("c adalah=" + c.ToString());
Console.ReadKey();
0 Response to "CONTOH SOURCE CODE MENGHITUNG SISI MIRING SEGITIGA"
Post a Comment