Preview

Woes

Good Essays
Open Document
Open Document
583 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Woes
1. If a = 0, b = 1, and c = 5 a. a + b = 0 + 1 = 1 b. a > b = 0 > 1 = 0

c. 3 + b * c = 3 + 1 * 5 = 8
d. ++b = 2
e. b++ = 1
f. b <= c= 1<=5=1

g. a > 5= 0>5=0

h. ++a ==b= ++0==1=0

i. b != c=1!=5=1

j. b == c= 1==5=0

k. b = c= 1= 5=b=5 l. b / c= 1/5 = .2

m. b % c= 1%5= 1

n. b + c * 4 / 3=1+5*4/3= 7.66666667

o. 22 / (c + 3) = 22/ (5+3)= 2.75

2. Regularworkweek.cpp
#include <iostream> using namespace std; int main ()
{

double hourlyWage; int weeklyHours = 40;

cout << "What is your hourly wage? "<<endl; cin >> hourlyWage; cout << "Your hourly wage is $ " <<hourlyWage <<endl; cout << "Your weekly pay is $ " <<hourlyWage*weeklyHours <<endl; system("PAUSE"); return 0;
}

5. Mathexcersise.cpp
#include<iostream>
using namespace std; int main()
{
double a,b; cout << "Enter your first value." << endl; cin >> a; cout << "Enter your second value." << endl; cin >> b; cout << a << "+" << b << "=" <<a+b<<endl; cout << a << "-" << b << "=" <<a-b<<endl; cout << a << "*" << b << "=" <<a*b<<endl; cout << a << "/" << b << "=" <<a/b<<endl; cout << "or" <<endl; cout << b << "+" << a << "=" <<b+a<<endl; cout << b << "-" << a << "=" <<b-a<<endl; cout << b << "*" << a << "=" <<b*a<<endl; cout << b << "/" << a << "=" <<b/a<<endl; system ("PAUSE"); return 0;
}

9. Phonecall.cpp
#include<iostream>
using namespace std; struct phoneCall
{
int minutesPerCall;

}; int main()
{
phoneCall

You May Also Find These Documents Helpful

  • Satisfactory Essays

    Samuel Aggor CSC 1100 3/3/16 Assignment 5 Problem 1 a. Output: 3.94 b. Output: 6.67 c. Output: 15.00 d. Output: -35.00 e. Output: 0 Problem 2 a. Output: 62 b. Output: 20160 c. Output: 20 213837312 d. Output: 1 Problem 3 a. Func1 has two parameters. Func1 is an integer function. b. Func2 has three parameters. Func2 is a double function.…

    • 188 Words
    • 1 Page
    Satisfactory Essays
  • Good Essays

    Bugs

    • 1266 Words
    • 4 Pages

    Scott’s blood test shows that he has excess red blood cells. Identify and describe two causes of this disorder.…

    • 1266 Words
    • 4 Pages
    Good Essays
  • Good Essays

    Wowen Exploitation

    • 979 Words
    • 4 Pages

    There is a debate that women around the world in the workforce are exploited more than men. In the essay “Life on the Global Assembly Line” by Barbara Enrenreich and Amrete Fuentes it mentions a woman named Anna in Ciudad Juarez and her struggles as she works in the maquiladoras. She leaves at 4am in the morning to catch the ruteras (a run-down van that squeezes many workers in at one time) to ride from the slum neighborhoods to the industrial parks. This ride may take many hours to arrive to work in the maquiladora and endures horrific working conditions.…

    • 979 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    Gripe

    • 315 Words
    • 2 Pages

    The types of things that would be more supportive of my ongoing growth and development as a leader and person would be positive interactions with the people around me. When I work with people that I truly enjoy the company of, it doesn’t matter how grueling or uninteresting the work we are doing is. On the flip side, if I am around people that I don’t enjoy being around for whatever reason, I would hate the work I’m doing- even if it’s very easy. Being around a great supporting cast can really make a difference, especially when you have to spend 8+ hours a day with them- even if the work itself isn’t something you really enjoy. I would say this is because it really stimulates and motivates you.…

    • 315 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    Broken Lives

    • 691 Words
    • 3 Pages

    Broken Lives written by Estelle Blackburn is an expository text, which through research has presented that nineteen year old John Button was wrongfully convicted of killing his seventeen year old girlfriend Rosemary Anderson in a hit and run. I believe through my reading of Broken Lives that the key factor of expository texts is to explore awkward questions deeply and critically. In this case who was guilty of killing Rosemary Anderson in a hit and run, John Button or Eric Edgar Cooke, and the effect of Cooke's crimes and murders had on people.…

    • 691 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Dieases

    • 647 Words
    • 3 Pages

    The title of this film is called Diagnosis Unknown. What makes this film different fom others is that they go into more details and explain more about what the teenagers are really going through.The film is talking about how these 3 teenagers were getting really sick and they couldnt solve what was causing it.…

    • 647 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    Irls

    • 2330 Words
    • 10 Pages

    Kelly A. Gable, Cyber-Apocalypse Now; securing the internet Against Cyberterrorism and using Universal Jurisdiction and a Deterrent, 43 Vand. J. Transnat’l L. 57 (2010)…

    • 2330 Words
    • 10 Pages
    Powerful Essays
  • Better Essays

    Grief

    • 992 Words
    • 3 Pages

    Grieving is a natural part of life. Everyone grieves at some point in their lives, whether…

    • 992 Words
    • 3 Pages
    Better Essays
  • Satisfactory Essays

    Daily Hassles

    • 723 Words
    • 3 Pages

    In this paper I will go over my results to the daily hassle self-assessment results and the many factors that have affected my stress. I will also explain ways to lessen the stress and promote my psychological and physical health.…

    • 723 Words
    • 3 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Life Sucks

    • 521 Words
    • 3 Pages

    "Obviously, we need to see the details of all the patients and the adverse events to be able to interpret the importance of these toxicities, … Given this advisory, I think we’ll be less likely to use this compound, considering there are other alternatives available."…

    • 521 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    Hard Times

    • 397 Words
    • 2 Pages

    The opening act of Hard Times by Charles Dickens shows a classroom of students being taught by Mr. Gradgrind. Mr. Gradgrind believes that only facts are important in life and strips the children of the right to have imagination.…

    • 397 Words
    • 2 Pages
    Good Essays
  • Good Essays

    Struggle

    • 793 Words
    • 4 Pages

    By the summer of my junior year, I had rearranged the structure of my life; as my father's illness progressed and he became increasingly incapacitated,…

    • 793 Words
    • 4 Pages
    Good Essays
  • Good Essays

    Personal Problems

    • 679 Words
    • 3 Pages

    George Orwell’s “Shooting an Elephant” is a simple essay with a strong message. Throughout the piece, the narrator faces the same conflict day after day and was “hated by large numbers of people” (Orwell 377). This level of hatred causes the narrator to make a decision against his beliefs and in favor of the imperialistic society. This decision is not based on the right thing to do, but to simply fit in. Orwell uses his perplexed narrator, a simple plot, and detailed setting to explain how individuals choose self-image over self-satisfaction.…

    • 679 Words
    • 3 Pages
    Good Essays
  • Good Essays

    SUFFERING

    • 1978 Words
    • 5 Pages

    Suffering is the state of undergoing pain, distress, or hardship. Suffering is shown in “Standing Female Nude” and “Girl Talking” by Carol Ann Duffy, and “The Capon Clerk” and “Eva and the Roofers” by Sheenagh Pugh. The authors give their poems depth by using different types of suffering in different ways. Duffy and Pugh both create a deep sense of suffering within their characters. However Duffy makes the character a victim of someone else’s suffering, just like Pugh. Ultimately, Duffy shows the inescapable human cruelty within society, by giving someone a voice.…

    • 1978 Words
    • 5 Pages
    Good Essays
  • Satisfactory Essays

    Homeos

    • 369 Words
    • 2 Pages

    Add to the MoreShell ability to execute command lines with commands connected by pipes. Use dup2 system call to redirect IO. For Example: ls -l | wc .…

    • 369 Words
    • 2 Pages
    Satisfactory Essays

Related Topics