Questions
C++ Write a program that asks a teacher to input a student’s first name, last name,...

C++

Write a program that asks a teacher to input a student’s first name, last name, and four test scores. The program should find the average of the four test scores and should then write the following information to a file named “students.txt”

last_name

first_name

average

A student's first name of “XX” should be used as a sentinel value and no numeric grades less than 0 or greater than 100 should be accepted.  The program should then read the information in for the file “students.txt”, and for each student display the following on the monitor:

first_name last_name    average

first_name last_name    average

Number of students        n

Overall average:               nn.n

Note: all averages should be displayed with one decimal position

In: Computer Science

Name and describe one method a eukaryotic cell can regulate transcription of a gene Name and...

Name and describe one method a eukaryotic cell can regulate transcription of a gene

Name and describe one method a eukaryotic cell can regulate translation of a gene

Name and describe one method a eukaryotic cell can regulate expression of a gene at any level

In: Biology

Name the four levels of protein structure, describe the structural characteristics at each level, and name...

Name the four levels of protein structure, describe the structural characteristics at each level, and name the types of bonds or other forces involved at each level.

In: Biology

Name and explain the 3 types of primary categories of Economic Indicators. Name and define two...

Name and explain the 3 types of primary categories of Economic Indicators. Name and define two specific examples for each indicator; and suggest what there movements during the past year might suggest re. the direction of the economy

In: Economics

Name the epithelium found in the urinary system organs and state it’s function. Name the subdivisions...

  1. Name the epithelium found in the urinary system organs and state it’s function.
  2. Name the subdivisions of the small and large intestines in the complete and correct sequence
  3. List all alimentary canal organs from oral cavity to anal canal in correct/complete sequence (including the subdivisions of small and large intestine).
  4. Locate/ID the anatomy of the urinary bladder and the gross anatomy of the kidney

In: Anatomy and Physiology

Name the valves in the heart. Name all four valves and where blood flows coming into...

Name the valves in the heart. Name all four valves and where blood flows coming into and out of each valve

In: Anatomy and Physiology

C++ Change the program to take user input for first name and last name for five...

C++

Change the program to take user input for first name and last name for five employees. Add a loop to read the first name and last name.

// EmployeeStatic.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
#include <string>
#include <iostream>
#include <string>

using namespace std;

class Employee {
public:
   Employee(const std::string&, const std::string&); // constructor
   ~Employee(); // destructor
   std::string getFirstName() const; // return first name
   std::string getLastName() const; // return last name

                                   // static member function
   static unsigned int getCount(); // return # of objects instantiated
private:
   std::string firstName;
   std::string lastName;

   // static data
   static unsigned int count; // number of objects instantiated
};

// Employee class member-function definitions.


// define and initialize static data member at global namespace scope
unsigned int Employee::count{ 0 }; // cannot include keyword static

                               // define static member function that returns number of   
                               // Employee objects instantiated (declared static in Employee.h)
unsigned int Employee::getCount() { return count; }

// constructor initializes non-static data members and
// increments static data member count
Employee::Employee(const string& first, const string& last)
   : firstName(first), lastName(last) {
   ++count; // increment static count of employees
   cout << "Employee constructor for " << firstName
       << ' ' << lastName << " called." << endl;
}

// destructor decrements the count
Employee::~Employee() {
   cout << "~Employee() called for " << firstName
       << ' ' << lastName << endl;
   --count; // decrement static count of employees
}

// return first name of employee
string Employee::getFirstName() const { return firstName; }

// return last name of employee
string Employee::getLastName() const { return lastName; }

// static data member tracking the number of objects of a class.

int main() {
   // no objects exist; use class name and binary scope resolution
   // operator to access static member function getCount
   cout << "Number of employees before instantiation of any objects is "
       << Employee::getCount() << endl; // use class name

                                       // the following scope creates and destroys
                                       // Employee objects before main terminates
   {
       Employee e1{ "Susan", "Baker" };
       Employee e2{ "Robert", "Jones" };

       // two objects exist; call static member function getCount again
       // using the class name and the scope resolution operator
       cout << "Number of employees after objects are instantiated is "
           << Employee::getCount();

       cout << "\n\nEmployee 1: "
           << e1.getFirstName() << " " << e1.getLastName()
           << "\nEmployee 2: "
           << e2.getFirstName() << " " << e2.getLastName() << "\n\n";
   }

   // no objects exist, so call static member function getCount again
   // using the class name and the scope resolution operator
   cout << "\nNumber of employees after objects are deleted is "
       << Employee::getCount() << endl;

   system("pause");
}

In: Computer Science

Write a Python program that has the user enter their name.   Using the user's name calculate...

Write a Python program that has the user enter their name.   Using the user's name calculate the following:

1. How many letters are in the user's name?

2. Print the user's name in REVERSE both in capital letters and lowercase letters

3. Print the ASCII value for each letter of the user's name.

4. Print the SUM of all of the letters of the user's name (add each letter from #3)

In: Computer Science

1. a. Name the three bones that make up the coxal, or hip bone. b. Name...

1.

a. Name the three bones that make up the coxal, or hip bone.
b. Name the structure that connects the two pubic bones anteriorly

c. Name two ways in which a female pelvis is different than a male:

d. Name the area of the coxal bone which articulates with the head of the femur:

e. Name the bones that articulate at the knee

In: Anatomy and Physiology

Write a machine language program to output your name on the output device. The name you...

Write a machine language program to output your name on the output device. The name you output must be longer than two characters. Write it in a format suitable for the loader and execute it on the Pep/9 simulator.

my name is Kevin

In: Computer Science