Write a program in c++ to determine whether a number is odd or even using functions
Answers
Answered by
1
Class Roman
{
public static void main( )
{
int n;
if(n%2!=0)
System.out.println("ods");
else
if(n%2==0)
System.out.println("even");
}
}
akansha1256:
pastry hehaaa
Similar questions
Social Sciences,
5 months ago
Biology,
5 months ago
Psychology,
10 months ago
Chemistry,
11 months ago
Social Sciences,
11 months ago