Question: Can I get some help or ideas with solving number 3 on the list please. This is what I have so far... This program should:

 Can I get some help or ideas with solving number 3

Can I get some help or ideas with solving number 3 on the list please. This is what I have so far...

on the list please. This is what I have so far... This

This program should: 1. Read an input file name from a user (note: the input file contains several integer numbers) 2. Display the minimum number among the input values 3. Display a list of distinct elements in the input and the number of occurrences of each distinct value 4. Be submitted as hw1-1.cpp For the assignment, you can assume that the number of input values in a file can't be more than 30. This is a sample execution of your program. For the assignment, your program has to display the result exactly as the sample run. User input is in bold. Enter input file name: t1.txt Min Number: -3 Number Count 14 15 int main() { cout > file_name; ifstream f_input(file_name); if (f_input.fail() cout > size; int nums[size]; int min = nums[size]; // Read values from the file. for (int i=0; i > nums[i]; cout

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!