Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
average and percentage
//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 { public static void Main(string[] args) { String s="subbareddy"; int Maths=90,chemistry=58,physics=58; int total=Maths+chemistry+physics; float p=total*100/220; float f=total/3; Console.WriteLine("Name="+s); Console.WriteLine("Total="+total); Console.WriteLine("percentage="+p); Console.WriteLine("Average Mark's="+f); if(p>=90) { Console.WriteLine("Grade=A"); } else { Console.WriteLine("Grade=B"); } } } }
run
|
edit
|
history
|
help
1
SpiltStringBetweenSpecialCharacters
Returning the number of 1s in the binary representation of an unsigned integer
ASCII -> Braille ASCII
-Wall -std=c++14 -O0 -o a.out source_file.cpp
saetr
FromBibleC#(OOP)
FIBNOCHI
1 through 1000
Homework4
Trials