A 35 N force was applied to a 7-kg toy cart, causing it to accelerate to the right. Compute its acceleration.
a) Draw a flowchart, lastLargestIndex, that takes as parameters an int array and its size and returns the index of the last occurrence of the largest element in the array.
Draw a flowchart (cellphone) so that it uses the following methods to calculate the billing amount. (In this programming, do not output the number of minutes during which the service is used.)
a. regularBill: This method calculates and returns the billing amount for regular
service.
b. premiumBill: This method calculates and returns the billing amount for premium
service.
A shop had N number of sales each day for M days. Each day different types of items were sold and had different profits associated with them, but the quantity of items sold each day was the same. The owner of the shop wishes to know the minimum profit made each day. For this, a structure was formed in which profit for all different items for an individual day was kept in the same column for M days.
Write an algorithm to find the minimum profit for each day individually.
Input
The first line of the input con beats of
Given an array container and integer hunt. WAP to find whether hunt is present in container or not. If present, then triple the value of hunt and search again. Repeat these steps until hunt is not found. Finally return the value of hunt.
Input: container = {1, 2, 3} and hunt = 1 then Output: 9
Explanation: Start with hunt = 1. Since it is present in array, it becomes 3. Now 3 is present in array and hence hunt becomes 9. Since 9 is a not present, program return 9.write an algorithm to find average price of mangoes purchased by hari ram from a buyer 1 at rupees per kg with 5% discount and from buyer 2 at rupees 100 per kg with 5% discount.he purchased 10 kg from buyer 1 and 20 kg from buyer 2. also find the the total discounted amount.
Write a program in DNA sequence analysis
in c++ coding the goal to provide a report of the number of each nucleotide within the sequence, and the percent each nucleotide makes up of the total.
Every DNA sequence consists of four nucleotides: Adenine, Thymine, Cytosine, and Guanine, referred to by the first letters of their chemical names (A, T, C, and G).
Output:
DNA sequence analysis:
29782 nucleotides in the sequence
Sequence breakdown:
Adenine: 8892 29.86%
Thymine: 9581 32.17%
Cytosine: 5462 18.34%
Guanine: 5847 19.63%
Create a menu to calculate the area and perimeter of different figures
a)Triangle e)Oval
b)Trapezium f)Hexagon
c)Circle g)Pentagon
d))Cone h)Decagon
Create a Midi Parent form
Progress bar/Slash Screen
1. Define a class bicycle
2. Properties: brand, model, year, description, weight_kg
3. Methods: name, weight_lbs, set_weight_lbs
Description:
name - take brand, model and year and put them in a string to output the name of each instance of the bicycle.
weight_lbs - convert from kilogram into pounds. 1kg = 2.2046226218 pounds
set_weight_lbs - is going to be a way that we can pass in a weight, in pounds, and have it converted into kilograms and stored in weight_kg. So you'll be able to set the weight, either by kilograms, or by pounds.
4. Instantiate 2 objects
5. Set and read properties
6. Call all methods