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

Write a function second_last_digit in C++ and call function that print the second last digit of the given number. The second last digit is being referred to the digit in the tens place in the given number.


For example, if the given number is 197, the second last digit is 9.

Note 1 - The second last digit should be returned as a positive number. i.e. if the given number is -197, the second last digit is 9.

Note 2 - If the given number is a single-digit number, then the second last digit does not exist. In such cases, the program should print -1. i.e. if the given number is 5, the second last digit should be print as -1.


As there is lock down everywhere, and the time allocated for shopping is restricted, Mr. Umar

goes for shopping in the specified time, He went to vegetable super market, He purchased some

vegetables and fruits the total bill was “m” Rs. and he got a discount of 10% there. Next he went

to Buy n Save shop and purchased the groceries and the bill amount generated there was “n” Rs

and here he got a discount of 12.5%. Later he went to buy medicine and there the bill was “p”

Rs. and there also he got a discount of 18%.

His mother asked the bill details and the total amount he spent today. Help to create a C

application for the same.

Requirements.

1. Capture the bill m,n,p

2. Compute the amount paid at individual place after discount

3. Display the bill amount paid at each place

4. Calculate the total amount spent

5. Display the total amount spent by Mr. Umar


Write a C program to copy one string to another without using string manipualtion fucntion


Mr. Nuthan M S is given the task to maintain the details of the class teacher of his section, the

details includes, Name of the faculty(String), employee ID(integer), Experience(int), Course

handled(String). Help Mr. Nuthan to maintain the record by generating a C application.


python code to print the right alphabetic triangle up to the given N rows.


Write an interactive C program for “BCA Student Semester-End Results” which

prompts the user with the following menu options on the opening menu and

performs the corresponding functionalities:

1) Registration Status (Registration details like enrolment no, current semester,

fee-details, study centre, regional centre etc)

2) Courses in the Current Semester

3) Assignment Submission Schedules

4) Assignment Marks (semester-wise, course-wise till current semester)

5) Term End Exam Marks(semester-wise, course-wise till current semester)

6) Quit


When developing new software, we should take into account how to create a specific "Look and Feel" per customer. What are the advantages of using Java GUI?


1) Write a Python program to print the following string in a specific format:

Sample String : "Twinkle, twinkle, little star, How I wonder what you are! Up above the world so high, Like a diamond in the sky. Twinkle, twinkle, little star, How I wonder what you are"



How to program a button to calculate pricing and adding to a list box:

my teacher was very vague on how to do this, we are using else/if statements to do this, my question is how would I go about adding information using radio buttons and pricing them and then adding them to the list box using Else/if statements


Define a class Fixed_Deposit with the following specifications, the program uses three overloaded constructors. The parameter values to these constructors are provided at run time. The user can provide input in the following forms.

   1. Amount, period and interest in decimal form.

   2. Amount, period and interest in percent form.

   3. Amount and period.

PRIVATE DATA MEMBERS:

P_Amount long int type Years integer type Rate float type R_value float type

PUBLIC MEMBER FUNCTIONS:

Fixed_Deposit() Null constructor

Fixed_Deposit(p, y, r=0.12) Parameterized constructor with default arguments to accept values for P_Amount, Years and Rate(in Percent e.g., 0.12, 0.09)

Fixed_Deposit(p, y, r) Parameterized constructor with default arguments to accept values for P_Amount, Years and Rate(in Decimal e.g, 12%, 8%)

display() Function to display the P_Amount and R_Value

~Fixed_Deposit() Destructor to destroy the data objects




LATEST TUTORIALS
APPROVED BY CLIENTS