Question: first question must use conditional operator , please #ifndef PLURAL_H #define PLURAL_H #include /** Returns a plural string based on the quantity @param s the

first question must use conditional operator , please first question must use conditional operator , please #ifndef PLURAL_H #define PLURAL_H#include /** Returns a plural string based on the quantity @param sthe string to "pluralize" @param n the quantity @return the unchanged string

#ifndef PLURAL_H #define PLURAL_H #include /** Returns a plural string based on the quantity @param s the string to "pluralize" @param n the quantity @return the unchanged string if n is 1, add "S" */ std::string plural (const std::string& s, int n); otherwise. #endif Write a do loop that reads integers and computes their sum. Stop when a zero is read or the when the same value is read twice in a row. For example, if the input is 1 2 3 4 4, then the sum is 14 and the loop stops. Complete the following file: sum.cpp #include using namespace std; 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 int main() { int previous; int sum = 0; do { sum = sum + previous; } while (sum != 0 && previous != sum);|| cout

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!