1 / 7

ANFAL21 PF LAB A NO 3

it is a C program<br>

anfal7
Download Presentation

ANFAL21 PF LAB A NO 3

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. PF LAB ASSIGNMENT ASSIGNMENT NO 3: Name: ANFAL TAHIR Roll no: 21 Department: KUST Program: BSCS University: UNIVERSITY OF MANAGEMENT AND TECHNOLOGY. Subject: PROGRAMMING FUNDAMENTALS LAB Submitted to: MISS JAWERIA JALIL 1

  2. PF LAB ASSIGNMENT Q NO 1: PROGRAM CODE: 2

  3. PF LAB ASSIGNMENT OUTPUT: 3

  4. PF LAB ASSIGNMENT Q no 2: PROGRAM CODE: 4

  5. PF LAB ASSIGNMENT OUTPUT: 5

  6. PF LAB ASSIGNMENT Q NO 3: MAKE A TABLE: FUNCTION NAME HEADER/LIBRARY FILE <iostream> DESCRIPTION cout Standard output stream for printing to the console. Standard input stream for printing to the console. Returns the length (number of characters of a string). Adds an element to the end of a vector. Sorts element in a range in ascending order. Returns the larger of two values. Returns the smaller of two values. Converts a string into an integer. cin <iostream> string:: length <string> vector:: push_back<vector> sort <algorithm> max <algorithm> min <algorithm> stoi <string> 6

  7. PF LAB ASSIGNMENT to_string <string> Converts a numeric value into a string. Generates a pseudo-random number. rand <cstdlib> 7

More Related