#include<stdio.h>
#include<conio.h>
void main()
{
int a[10],count_even=0,count_odd=0,neg=0,i;
printf(" Enter the value in Array \n");
for(i=0;i<10;i++)
scanf("%d", &a[i]);
/* Calculating number of odd and even integer's */
for(i=0;i<10;i++)
{
if((a[i]%2 ==0))
count_even++;
if((a[i]%2==1))
count_odd++;
if(a[i]<0)
neg++;
}
/* display the number of odd and even integer's */
printf(" Total number of even integer are %d\n ",count_even);
printf("Total number of odd integer are %d\n", count_odd);
printf(" Total negative integer are %d", neg);
getch();
}
#include
#include
int main()
{
int i ,even=0,odd=0;
int a[10];
printf("enter numbers \n");
for(i=0;i
dtuke
Convert this in flow chart and see if it can help Start Display "Enter 2 numbers" Accept 2 numbers A & B Divide the A with B Is result Zero? ---- No - A is not Dividable with second Yes - A is Dividable with second End
start, inputbox,inputbox,inputbox,inputbox,inputbox,progresh,display,stop
"Please accept our profound regrets that we are unable to attend your pool party on the Seventeenth of the month, and please be assured of our deep and sincere gratitude for your gracious invitation." With fondest regards, Tondalaya and Aloysius Q. Finkelstein III
The opposite of "accept" (agree) is reject, or refuse. The opposite of "accept" (acknowledge) would be refute, or deny.
-- If you accept fractions and decimals, then there are an infinite number of answers, for example: (0.5) x (46) (0.23) x (100) (35.9375) x (0.64) (18.4) x (1.25) (142/7) x (1.61) . . etc. -- If you only accept whole numbers, then there are only two answers: (1) x (23) (-1) x (-23)
write a c program to accept a number and generate a square root cube and exponential values
Adding a negative integer is like subtracting a positive one. If you accept that 7 - 7 = 0 (because anything minus itself equals zero) then it stands to reason that 7 + -7 would equal zero as well.
This is the set of natural numbers.
I am not quite sure what you mean with "derive" - what sort of derivation you will accept. If you take the square root of an integer, unless the integer happens to be a perfect square, you get an irrational number. And yes, there is proof of that. The can be found in most high school algebra books.
All data is digital in a digital computer -- the numbers are merely an abstraction for real objects, even if those objects are non-numeric (such as people, animals, cars, etc). However, functions that accept actual numbers typically accept int, long, short or char arguments to represent whole numbers (integer values), float or double to represent real numbers (floating point values), or complex data types that are intrinsically numeric, such as std::complex objects.
C programm
Accept 5 numbers in an array and display it.
Yes. It's the negative blood types that can't accept blood from the positives.
Negative ions are formed when atoms accept electrons.
Yes. It's the negative blood types that can't accept blood from the positives.
It is very easy. The program begins here..... /*Program to sum and print numbers without creating variables*/ #include<stdio.h> main() { clrscr(); printf("%d+%d=%d",5,2,5+2); getch(); } /*Program ends here*/ Now just by changing the numbers in the "printf" statement we can add, subtract, multiply and divide the numbers without using variables. Hence the problem is solved..........
public class PrintOctal { public static void main(String[] args) { int n = Integer.parseInt(args[0]); System.out.printf("%o\n", n); } }