Programming & Computer Science Answers

C++ 9913
Python 5288
Java | JSP | JSF 3611
C 1680
C# 1362
Computer Networks 989
Algorithms 652
Databases | SQL | Oracle | MS Access 641
HTML/JavaScript Web Application 588
Other 537
Visual Basic 358
Assembler 209
Software Engineering 202
AJAX | JavaScript | HTML | PHP 166
MatLAB 150
MatLAB | Mathematica | MathCAD | Maple 124
Action Script | Flash | Flex | ColdFusion 112
UNIX/Linux Programming 89
Web Development 73
Excel 36
ASP | ASP.NET 23
Delphi | Pascal 21
Perl 16
Prolog 9
Functional Programming 9
MathCAD 5
Wolfram Mathematica 4
WPF 4
Ruby | Ruby on Rails 3
NodeJS Web Application 2

Questions answered by Experts: 26 876

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

Give two dates D1 and D2 write a program to count the number of saturdays and sundays from D1 to D2 the date in string formate is like 8feb 2021

You are given the temperature T of an object in one of Celsius, Fahrenheit, and Kelvin scales.

Write a program to print T in all scales viz Celsius, Fahrenheit, and Kelvin.

Formula to convert from Fahrenheit F to Celsius C is C = (F - 32) * 5 / 9.

Formula to convert from Kelvin K to Celsius C is C = K - 273.

Here "C", "F", "K" represent that the temperature scale is in Celsius, Fahrenheit and Kelvin scales respectively.

The input contains the temperature (a number) and the unit of the temperature scale (C, F, K) without any space.

The output contains temperature in Celsius, Fahrenheit and Kelvin scales

The first line of output should contain the Celsius value and the unit of the Celsius without any space.For example, if the given temperature Value is 25C then Celsius value is 25.0C, Fahrenheit value is 77.0F, and Kelvin value is 298.0K.

Sample Input 1

25C

Sample Output 1

25.0C

77.0F

298.0K

Sample Input 2

37.5F

Sample Output 2

3.06C

37.5F

276.06K




Write a C++ program to find maximum and minimum element of an array. The minimum element is the lowest value in the array and the maximum is the largest value in the array. Your program should accept N elements, all integer values then the program should display the minimum and maximum element in the array with their corresponding index number.

Construct a C++ program to store the data in column X as an array, then process the data to obtain the data as in column Y and Z. Store the data as an array as well.


Question 2 Construct a C++ program to store the data in column X as an array, then process the data to obtain the data as in column Y and Z. Store the data as an array as well. X Y Z 0 100 95 2 98 93 4 96 91 6 94 89 8 92 87 10 90 85 … … … … … … 100 0 -5


Q3. An institute have decided to automate their batch details operations. The application is to be developed in such a manner that a proper directory structure is to be maintained to store the files. The directory structure to be maintained is as shown below:Academy - 1. Chennai->Chennai.txt 2. Banglore->Banglore.txt 3. Mumbai->Mumbai.txt 4. Pune->Pune.txt .You need to perform operations in C# application Create a menu based application to store batch details.· The first option in the menu should allow the user to create a directory structure and the files (if not exists)in the c drive as shown in the above figure.· The second option should accept the batch details from the user. Based on the location given by the userappend the batch details in the respective files.· The third menu option allows the user to create a backup copy of the Academy folder in D Drive .The fourth option should allow the user to view the details of the all text files


Q1. Write a Code to Read and Display the contents of a text file. Accept the name of the file from the user. Handle all the exceptions that might occur during reading.



Q2. Write a Code to perform File Copy operation. You need to accept the source and destination file names. The data should be copied from source file to destination file.

Handle all the exceptions that might occur during the file copy operation.


Pattern - 10
Write a program that print Multiplication Number in Column
Suppose there is two different types of dictionary, one dictionary contains employee id and name of employee and another dictionary contains employee id and salary. Take 5 employee
details. Now display the employee's designation from the following condition:
If salary between 80,000 to 90,000:designation:Project Manager
salary between 70,000 to 80,000:designation:Team Leader
salary between 60,000 to 70,000:designation:Software Developer
salary between 50,000 to 60,000:designation:Software Trainee
Display result in the form of dictionary.
Pattern - 2:
Write a program that print Right-angled Pattern with Same Character
LATEST TUTORIALS
APPROVED BY CLIENTS