Coder Social home page Coder Social logo

fall-2021-13500-lab-02-pandaericbear's Introduction

Fall 2021 - Lab 02

Last name: Li

First name: Eric

GitHub username: PANDAERICBEAR

Notes:

General instructions:

Specific instructions for lab 02

Task A

Write this task as specified in the main lab. That is create a program named valid.cpp that completes the task.

Task B

Write a program that consists of two files, main.cpp and funcs.cpp. You will also need a header file named funcs.h (see the class video for details).

In funcs.cpp write a void function named print_interval(int L, int U) that will accept two integer parameters and will print the output as specified in the main lab. Test this function by calling it from the main function which should be defined in main.cpp.

Make sure to include sufficient tests to from main to show that this works.

Recall that you can compile this program by typing g++ main.cpp funcs.cpp and then running ./a.out.

NOTE: The program for this task should not ask for any keyboard input. The input test values should be hard coded in the program.

Task C

Write this task as specified in the main lab assignment.

Task D

Write this task as specified in the main lab assignment

fall-2021-13500-lab-02-pandaericbear's People

Contributors

ericli-dev avatar github-classroom[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.