1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
densk [106]
2 years ago
13

Write the output of the following: DECLARE FUNCTION program SUM (A, B)

Computers and Technology
1 answer:
Nataly_w [17]2 years ago
4 0

Answer:

#include<studio.h>

Int main()

{

Int a=10, b= 20, sum;

Sum =a+b;

Printf(“ sum = %d”, sum );

Return 0;

}

Explanation:

Let's Assume A = 10 and B = 20

You might be interested in
Aisha designed a web site for her school FBLA club. Which item should Aisha consider for improved responsive design?
Alexeev081 [22]
A is the correct answer I studied it
3 0
3 years ago
Read 2 more answers
4. Write an interactive program CountOddDigits that accepts an integer as its inputs and prints the number of even-valued digits
levacccp [35]

Answer:

Program :

number=int(input("Enter the number: "))#take the input from the user.

number1=number

count=0#take a variable for count.

while(number>0):#loop which check every number to be odd or not.

   value=number%10 #it is used to take the every number from integer value.

   number=int(number/10)#it is used to cut the number which is in the use.

   if(value%2!=0):#It is used to check the number to be odd.

       count=count+1#It is used to increase the value.

print("The number of Odd Digits in "+str(number1)+" is "+str(count))#It is used to print the count value of odd digit.

Output:

  • If the user inputs is '1234567890', it will prints "5".
  • If the user inputs is "8546587", it will prints "3".

Explanation:

  • The above program is in python language, which takes the integer value from the user.
  • Then The number will be distributed into many individual units with the help of a while loop.
  • The while loop runs when the number is greater than 0.
  • There is a two operation, one is used to take the number by the help of modulo operator because it gives the remainder.
  • The second operation is used to divide the number to let the number 0.
4 0
3 years ago
Gps receivers are commonly used by individuals to determine their geographic location while hiking and to obtain driving directi
soldier1979 [14.2K]
I think it is true also.
7 0
4 years ago
Abram was asked to explain to one of his coworkers the XOR cipher. He showed his coworker an example of adding two bits, 1 and 1
OleMash [197]

XOR is 1 when either of the inputs is 1 but not when they both are.

1 xor 1 = 0

3 0
3 years ago
Positive and negative points of Computer and Information Systems Managers
belka [17]

Answer:

Well the first advantage is they get paid very well with $115,000 a year in 2015. Which is projected to increase in the next 10 years. Having experience in this career will give you many options for other careers like this. This is not the job you would want if you plan on wanting to work with other people with this job you are a one man job.

Explanation:

6 0
3 years ago
Other questions:
  • Write a loop statement to count and display the number of positive integers in the array. That is, your loop should display the
    14·1 answer
  • What is most likely kept in as database
    15·1 answer
  • Only those who perform music professionally can have a true appreciation for music. True False
    10·2 answers
  • William has an internet connection that does not allow him to make calls when connected to the internet. what internet service c
    7·2 answers
  • Computer ________ involves identifying, extracting, preserving, and documenting computer evidence. a. inoculation b. forensics c
    8·1 answer
  • Write a program that prompts the user for an integer and then prints all prime numbers up to that integer.
    7·1 answer
  • When a project manager can look at the progress towards the goals set, this is considered...?
    11·2 answers
  • Catherine purchased dried herbs from the grocery store. Which structure would she use if wanted to create a mixture of powdered
    8·2 answers
  • How many dog breed are there
    9·2 answers
  • PLS HELP subject (Microsoft Excel ) True or False:
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!