Answer:
- #include  <iostream>
- using namespace std;
- int main() {
- int number =5;
- if (number>=0&& number <=100){
-     cout<<"passed.\n";
- }
- else{
-     cout<<"failed.\n";
- }
- return 0;
- }
Explanation:
There where multiple errors in the code given in the questions
Line 1: Missing <iostream>
Line 5: The comparison operator was wrong correction is highlighted
Line 12 Missing closing brace for the main function
All the errors have been fixed and the code above compiles
 
        
             
        
        
        
Up to 24 bits can be used to identify unique <span>networks.</span>
        
             
        
        
        
I believe the answer is <u>Using sound effects between slides.</u>
Using sound effects between slides can cause for a distraction, and if you are in college, your professor may not score your presentation as well as if it were made without sound effects. Hope this helps!
 
        
             
        
        
        
Answer:
/*C++ program that prompts user to enter the name of input file(input.txt in this example) and print the sum of the values in the file to console. If file dosnot exist, then close the program */
//header files
#include <fstream>
#include<string>
#include <iostream>
#include <cstdlib> //needed for exit function
using namespace std;
//function prototype
int fileSum(string filename);
int main()
{
 string filename;
 cout << "Enter the name of the input file: ";
 cin >> filename;
 cout << "Sum: " << fileSum(filename) << endl;
 system("pause");
 return 0;
}
/*The function fileSum that takes the string filename and
count the sum of the values and returns the sum of the values*/
int fileSum(string filename)
{
 //Create a ifstream object
 ifstream fin;
 //Open a file
 fin.open(filename);
 //Initialize sum to zero
 int sum=0;
 
 //Check if file exist
 if(!fin)
 {
 cout<<"File does not exist ."<<endl;
 system("pause");
 exit(1);
 }
 else
 {
 int value;
 //read file until end of file exist
 while(fin>>value)
 {
 sum+=value;
 }
 }
 return sum;
}//end of the fileSum
Explanation:
This is a C++ program that prompts user to enter the name of input file(input.txt in this example) and print the sum of the values in the file to console. If file dosnot exist, then close the program.
Check attachment for sample output screenshot. 
 
        
             
        
        
        
Answer:
        if (option1.equals(option2)){
            rsvp = true;
        }
        System.out.println(rsvp);
A full program is given in the explanation section
Explanation:
import java.util.Scanner;
public class Option {
    public static void main(String[] args) {
        boolean rsvp = false;
        int selection;
        String option1,option2;
        Scanner in = new Scanner(System.in);
        option1 = in.next();
        option2 = in.next();
        if (option1.equals(option2)){
            rsvp = true;
        }
        System.out.println(rsvp);
    }
}