Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Only certain spheres.
//Rextester.Program.Main is the entry point for your code. Don't change it. //Compiler version 4.0.30319.17929 for Microsoft (R) .NET Framework 4.5 using System; using System.Collections.Generic; using System.Linq; using System.Text.RegularExpressions; namespace Rextester { public class Program { static double a = 0.0, b = 0.0; static void input () { Console.WriteLine("Escriba su nùmero: "); a=double.Parse(Console.ReadLine()); } static void cal () { b=(4*3.141*(a*a*a))/3; } static void val () { if (a%5==0) { Console.WriteLine("Tu resultado es: "+b.ToString()); } else { Console.WriteLine("FATAL ERROR! PLEASE RESTART COMPUTER "); } } public static void Main(string[] args) { input (); cal (); val (); } } }
run
|
edit
|
history
|
help
0
Find longest span of characters in string
yarirey
Generics
GeneGenerator
Write a program to filter distinct items from the array
LevenshteinDistance
Why do my posts keep getting deleted?
koko
Simple Enum Parsing
Get Country IP