Questions: 11 448

Answers by our Experts: 10 707

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 a Program: DNA Sequence Analysis



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). I have provided an



entire DNA sequence in the file


dnaSequence.txt.




You goal is to provide a report of the number of each nucleotide within the sequence, and the



percent each nucleotide makes up of the total. You should include your output file in the



submission in addition to our usual submission format (console output + code).





Write a program that will display a calendar given a month and year as an input to the program. Will display only single month of year given. Here it’s that if given input as ( April 2003) will display only the given month of the year.


Design a Car model class under package :package6 with the following attributes:

Member Field Name
Type
licenceNumber
String
Model
String
currentMileage
Double
engineSize
Intege
Mark all the attributes as private & create appropriate Getters & Setters

Design another class as Main under package :package6, where you need to implement logic as follows:
Declare an array as Car with size 10.
Take 10 Carà ƒ ¢ € ™s information from user and store them in specified array.
Call findCarList method from Main class to get all cars information related to a given current Mileage & engine Size
Current Mileage & engine Size values should be taken from Main class and pass to findCarList method as argument as well as Car array (with size 10).
Design findCarList method in Car class as follows:

Write a C++ program to find maximum marks stored in marks.txt file:

  1. Display it
  2. find average and display it.
  3. Write the average in given file.

Write a C++ program that reads the record stored in marks.txt file and display the maximum marks


Program that ask the name of students in class, their names and their gender,. Display the list of male and female gender
c++ program that print out calendar given month year as input

Exercise 3 : Practice to manipulate 2D arrays

Use a double-subscripted array to solve the following problem. A company has four salespeople ( 1 to 4) who sell five different products ( 1 to 5). Once a day, each salesperson passes in a slip for each different type of product sold. Each slip contains:

a) The salesperson number

b) The product number

c) The total dollar value of that product sold that day

Assume that the information from all the slips for a day is available. Write a program that will read all this information for the day and store in a double-subscripted array sales. For each product find and display the total sales.


Display ‘Hello there, please tell me your name?’ and accepts an input (name) from the user. It will then display ‘Thank you, [name] for being here. See you again next time!’

When an input is 1, display ‘True’. When an input is 2, display ‘False’. When an input is other than 1 or 2, display ‘Invalid’.

Ask for a birth date then compute and display the exact age in a year.


How do you put the numbers in for the rows and columns?


LATEST TUTORIALS
APPROVED BY CLIENTS