Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

Write c++ program that receives the radius of a circle and calculate The area

<div class="bg-container text-center">


<button class="get-activity-button p-1 mt-3" id="getActivityBtn">Get Activity</button>


<div class="mt-2" id="result">


<div class="d-flex flex-row">


<div class="w-50 d-flex flex-column justify-content-center text-center">


<p id="activityName" class="activity-name">Buy a new house decoration</p>


<p id="activityType" class="activity-type">recreational</p>


</div>


<div class="w-50">


<img src="https://assets.ccbp.in/frontend/react-js/random-activity/party.png" id="activityImg" class="activity-img" />


</div>


</div>


</div>


<div class="d-none mt-5 mb-5" id="spinner">


<div class="d-flex flex-row justify-content-center">


<div class="spinner-border" role="status"></div>


</div>


</div>


</div>

<h1> Capital and Country </h1>

  <div class="block">

    <select name="capital" id="capital-select" >

      <option value="paris"> Paris </option>

      <option value="london"> London </option>

      <option value="newYour"> New Your </option>

      <option  value="newDelhi" selected> New Delhi </option>

    </select>

    <p class="block__text"> is the capital of ? </p>

  </div>

  <span class="county-name" id="county-name"> India </span>


Write a program to overload operators in the same program by writing suitable operator member functions for following expression: O7= ((O1 % O2)>(O3 || O4) - (O5>O6)) [Here O1,O2,O3,O4,O5,O6 and O7 are objects of a class “overloading”, and this class is having one integer data member]


Write a program to take input for n number of doctor records and write records of all cardiologists in a file named: “record1”. Also write records of all those doctors in another file named: “record2” who are taking salary more than INR 80,000. After writing records in both files, merge their contents in another file: “finalrecord” and read all records of “finalrecord” file and display on screen. [Attributes of doctor: doc_id, doc_name, doc_specialization, doc_salary]

The Positive Ones

by CodeChum Admin

There are different kinds of numbers, but among them all, the most commonly used numbers in our daily lives are those positive ones. So, I only want you to count all the positive numbers from the 4 outputted values and print out the result.


Go and search for the positive ones among these four!


Input


1. First number

2. Second number

3. Third number

4. Fourth number

Output

The first four lines will contain message prompts to input the four numbers.

The last line contains the total count of all the positive numbers.

Enter·the·first·number:·2
Enter·the·second·number:·-4
Enter·the·third·number:·3.6
Enter·the·fourth·number:·1
Count·of·positives·=·3





Find a longest common subsequence between following strings:

String1= {1, 2, 3, 4, 5, 6, 7, 8}

String2=<1,2,0,1,1,5,6,5>

(Neatly show all the steps and also write the algorithm)(Analyze the running time of the given problem). 


I'm not getting any output to search item in a mart code So,please verify it


JamEx Limited requires a program to calculate and print the commission received by a

salesperson. The program should process an undetermined number of salespersons and

appropriately terminate by a predefined input. The commission rate is based on two factors,

the amount of sales and the class to which a salesperson belongs. The input will be the

salesperson number, sales amount and class. The commission rate will be based on the

following criteria:

Class=1

If sales is equal to or less than $1000, the rate is 6 percent.

If sales is greater than $1000 but less than $2000, the rate is 7 percent.

If the sales is $2000 or greater, the rate is 10 percent.

Class=2

If the sales is less than $1000, the rate is 4 percent.

If the sales is $1000 or greater, the rate is 6 percent.

Class=3

The rate is 4.5 percent for all sales amount

Class=any other value

Output an appropriate error message.


Need answer in pseudocode


Jaya Jusco (JJ) Sdn Bhd needs you to develop an application to calculate their customer JJ point’s reward. Define a class named Customer with the following variables declarations:


String CustName;

String CustAddress;

int pointRewards;

 

a)  Provide a default constructor and another constructor with three parameters. The constructor with parameters will assign the three values (String CustomerName, String CustomerAddress, int point). Define a public instance method named calculatePoint()to calculate the customer rewards if the point is greater than 300 points. The formula indicates that if the point is greater than 300 points, the system will add up extra 50 points.


b)Define another class named Testing to test the Customer class. Use the Scanner method to get the CustomerName, CustomerAddress and point values from the user. Declare class and create object Customer. Call the calculatePoint( ) method to display the current customer points reward.



LATEST TUTORIALS
APPROVED BY CLIENTS