assignment5- Notepad File Edit Format View Help AD2201 Pokemon Pikachu 40.00 12.34 493.60 14.81 14.81 463.98 0.03 0.03 AF0091 Pokemon Squirtel 35.67 23.54 839.67 25.19 33.59 780.89 0.03 0.04 AS2333 Tralfaz Henri 34.50 23.45 809.03 161.81 242.71 404.51 0.20 0.30 DA1120 Pokemon Pikachu 40.00 12.35 494.00 14.82 12.35 466.83 0.03 0.03 DC2231 Pokemon Balbasaur 33.50 12.34 413.39 8.27 4.13 400.99 0.02 0.01 10:51 PM O Type here to search 23 10/26/2019

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

 

In C++ how would i write a program that extracts a all of the lines if the payrate is less than what the cin is 

cout << "what payrate are you looking for?";

cin >> x

if (payrate < x){

// what is the program that i need to write to extract all the lines where payrate is less than x?

 

// second column of numbers is the payrate

assignment5- Notepad
File Edit Format View Help
AD2201 Pokemon Pikachu 40.00 12.34 493.60 14.81 14.81 463.98 0.03 0.03
AF0091 Pokemon Squirtel 35.67 23.54 839.67 25.19 33.59 780.89 0.03 0.04
AS2333 Tralfaz Henri 34.50 23.45 809.03 161.81 242.71 404.51 0.20 0.30
DA1120 Pokemon Pikachu 40.00 12.35 494.00 14.82 12.35 466.83 0.03 0.03
DC2231 Pokemon Balbasaur 33.50 12.34 413.39 8.27 4.13 400.99 0.02 0.01
10:51 PM
O Type here to search
23
10/26/2019
Transcribed Image Text:assignment5- Notepad File Edit Format View Help AD2201 Pokemon Pikachu 40.00 12.34 493.60 14.81 14.81 463.98 0.03 0.03 AF0091 Pokemon Squirtel 35.67 23.54 839.67 25.19 33.59 780.89 0.03 0.04 AS2333 Tralfaz Henri 34.50 23.45 809.03 161.81 242.71 404.51 0.20 0.30 DA1120 Pokemon Pikachu 40.00 12.35 494.00 14.82 12.35 466.83 0.03 0.03 DC2231 Pokemon Balbasaur 33.50 12.34 413.39 8.27 4.13 400.99 0.02 0.01 10:51 PM O Type here to search 23 10/26/2019
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps

Blurred answer
Knowledge Booster
Bare Bones Programming Language
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education