ans only if u know.
no spam
Attachments:
Answers
Answered by
2
Explanation:
hey dude atleast mention in which language you want it??
I am writing for java
import java.util.io*;
public class percent
{
public static void main()
{
double tn, twty,vfty;
Scanner sc = new Scanner(System.in);
System.out.println("enter a number");
double a = sc.nextDouble();
tn = a * (1/10);
twty = a * (1/4);
fty = a * (1/2);
System.out.println("The ten percent of the number is " + tn);
System.out.println("The twenty five percent of the number is " + twty);
System.out.println("The fifty percent of the number is " + fty);
}
}
Answered by
6
Answer:
hello friends
Explanation:
kaise ho
sorry mujhe questions ka answer nhi aata
Similar questions