What do you want to save?
Add Code snippet
New code examples
-
Other 2021-10-09 03:30:05
WAP to read and print ‘n’ student details using structure and Dynamic Memory Allocation.
/*C program to read and print the N student details using structure and Dynamic Memory Allocation.*/ #include <stdio.h> #include <stdlib.h> /*structure declaration*/ struct student { char name[30]; int roll; float perc; }; i... Add solution -
Other 2021-10-04 20:46:03
chp6 Overloaded Hospital
#include <iostream> using namespace std; double inputValidate(double); char userChoice(char); double calculateTotalCharges(double, double); double calculateTotalCharges(double, double, double, double); int main() { char user_choice; // 1 or 2 ... Add solution