Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Not sure what the question is asking me Is there a chance you can help me solve

ID: 3791443 • Letter: N

Question

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.

Explanation / Answer

#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

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote