Not sure what the question is asking me Is there a chance yo

Not sure what the question is asking me
Is there a chance you can help me solve this?
It\'s for computer science
1. About Data Type Please provide a program that can demonstrate that the data type int has a storage range. Make a screen capture of the code and a screen capture of the console output. 2. About Linked List Code In the program IntList in the project folder, in the file source.cpp, there are three times, where the main file wants to print out the values ofthe list. Modify the program to add a function called printme. The program should print out all the values in the linked list. Please provide a screen capture of the function printme, and a screen capture of the console output of the whole program. 3. About Linked List Application Based on the program Rainfall, in the code source cpp, add lines of code to achieve the followings: 1) Display the smallest amount of rainfall. 2) Display the average rainfall. Make a screen capture of the console output.

Solution

#include<bits/stdc++.h>
using namespace std;


int main(int argc, char const *argv[])
{
   //int a=-2147483649;
   int b=2147483649;
   cout<<\"Rane of int is -2147483648 to 2147483647\ \";
       //cout<<a<<endl;

   cout<<\"Value of b is 2147483647 but it prints \"<<b<<\" due to integer range\"<<endl;

   return 0;
}

=========================================================

Output:

akshay@akshay-Inspiron-3537:~/Chegg$ g++ datatype.cpp
akshay@akshay-Inspiron-3537:~/Chegg$ ./a.out
Rane of int is -2147483648 to 2147483647
Value of b is 2147483647 but it prints -2147483647 due to integer range

Not sure what the question is asking me Is there a chance you can help me solve this? It\'s for computer science 1. About Data Type Please provide a program tha

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site