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
Sauron [17]
3 years ago
10

Swapping two input integers if they are not the same. (use switch-case

Computers and Technology
1 answer:
bearhunter [10]3 years ago
6 0

Answer:

Write a C program to input any two numbers from user and swap values of both numbers using bitwise operator. How to swap two number using bitwise operator in C programming. Logic to swap two numbers using bitwise operator in C programming.

Explanation:

i smart

You might be interested in
Write a program that lets the user enter a nonnegative integer then uses a loop to calculate the factorial of that number. Displ
ValentinkaMS [17]

Answer:

Following are the program in c++ language

#include <iostream> // header file

using namespace std;// namespace

int main() // main function

{

    int num; // variable declaration

    long int f=1; // variable declaration

   do

   {

       cout<<"Enter the Positive value:";

       cin>>num;

   } while(num<0); // i check whether   number is non negative or not

   while(num>0) // iterating over the loop

   {

       f=f*num; // calculate the factorial

       num--; // decrement the value of num by 1

   }

   cout<<" factorial is :"<<f; // display the factorial .

   return 0;

}

Output:

Enter the Positive value:7

factorial is :5040

Explanation:

Following are the description of the program .

  • Read the input by user in the "num" variable of "int" type..
  • The do-while will check the enter number is nonnegative number.  
  • While(n>0) loop is calculating the factorial in the  "f" variable .
  • Finally display the factorial .  
3 0
3 years ago
Flash drives plug into a(n) _
Alecsey [184]
A flash drive plugs into a USB Port
7 0
3 years ago
Read 2 more answers
PLEASE ILL MARK BRAINLIEST
Minchanka [31]

Answer:

it is a capsid

5 0
3 years ago
Don is creating a very long document, and he would like to create an introductory page that contains the title of the document a
prohojiy [21]

Answer:

The answer is "Title page".

Explanation:

Don uses the title page to create it's designed because this page contains basic information like names, dates, titles, and the names of the author.  On this heading tab, it does not have a paper summary, and wrong choices can be described as follows:

  • The Blank Page is the wrong choice because it doesn't contain any layout.
  • The Bibliography is also a wrong choice because it describes the source of the information.
  • The Cover Page is also a wrong choice because it is also known as the main page it describes the name, the title of the document but it can't contain the date.  
8 0
3 years ago
Read 2 more answers
What language(s) MUST be used to display a bare-minimum web page?
gogolik [260]
By using HTML. Hopefully thats the answer you are looking for :)
5 0
3 years ago
Read 2 more answers
Other questions:
  • It is appropriate to leave sections of an application blank ?<br><br><br><br> True or False
    7·1 answer
  • An interstate route with even numbers travels north/south. True or false?
    6·2 answers
  • which option of the AutoCorrect tool enables you to add and delete words that do not follow abbreviation rules?
    10·2 answers
  • how can you repin an image on your Pinterest pin board A. click on the "repin" button B. click on the "add pin" button C. click
    7·2 answers
  • Norman Bates has a very unusual hobby what is it?
    13·1 answer
  • An ordinary office environment needs computers that have multiple user account settings where each user is allocated private dat
    13·1 answer
  • Handouts are pages of your presentation that you print and distribute to your audience
    10·1 answer
  • 4. Write technical term for the following statements
    15·2 answers
  • Based on what you know about the Sort and Find functions, return to the database file to determine the answers to the following
    7·2 answers
  • Helppppp meeee eeeeeee eee
    6·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!