UESTION PROVIDED IN ATTACH IMAGE KINDLY SEE. 2) SAMPLE INPUT AND OUTPUT PROVIDED AT END PLEASE SEE. 3) IF THERE IS A DECIMAL IN OUTPUT WHETHER IT'S ZERO OR TWO PLACE DECIMAL YOU MUST MATCH AS IT IS WITH QUESTION OUTPUT NO MISMATCH IN OUTPUT ACCEPTED AND BELOW TEMPLATES PROVIDED CHECK THIS BEFORE MAKING SOLUTION ( main.cpp , ADDRESS.cpp ) ----------------- TEMPLATES BELOW FOR SOLUTION -----------------------
UESTION PROVIDED IN ATTACH IMAGE KINDLY SEE. 2) SAMPLE INPUT AND OUTPUT PROVIDED AT END PLEASE SEE. 3) IF THERE IS A DECIMAL IN OUTPUT WHETHER IT'S ZERO OR TWO PLACE DECIMAL YOU MUST MATCH AS IT IS WITH QUESTION OUTPUT NO MISMATCH IN OUTPUT ACCEPTED AND BELOW TEMPLATES PROVIDED CHECK THIS BEFORE MAKING SOLUTION ( main.cpp , ADDRESS.cpp ) ----------------- TEMPLATES BELOW FOR SOLUTION -----------------------
UESTION PROVIDED IN ATTACH IMAGE KINDLY SEE. 2) SAMPLE INPUT AND OUTPUT PROVIDED AT END PLEASE SEE. 3) IF THERE IS A DECIMAL IN OUTPUT WHETHER IT'S ZERO OR TWO PLACE DECIMAL YOU MUST MATCH AS IT IS WITH QUESTION OUTPUT NO MISMATCH IN OUTPUT ACCEPTED AND BELOW TEMPLATES PROVIDED CHECK THIS BEFORE MAKING SOLUTION ( main.cpp , ADDRESS.cpp ) ----------------- TEMPLATES BELOW FOR SOLUTION -----------------------
2) SAMPLE INPUT AND OUTPUT PROVIDED AT END PLEASE SEE.
3) IF THERE IS A DECIMAL IN OUTPUT WHETHER IT'S ZERO OR TWO PLACE DECIMAL YOU MUST MATCH AS IT IS WITH QUESTION OUTPUT NO MISMATCH IN OUTPUT ACCEPTED
AND BELOW TEMPLATES PROVIDED CHECK THIS BEFORE MAKING SOLUTION ( main.cpp , ADDRESS.cpp )
----------------- TEMPLATES BELOW FOR SOLUTION -----------------------
main.cpp
#include<iostream> #include<string.h> #include<iomanip> #include<stdio.h> #include<cstdio> #include "Address.cpp" using namespace std; int main() { int n; cout<<"Number of details\n"; cin>>n;
//Fill your code here
return 0; }
Address.cpp
#include<string.h> #include<iostream> #include <stdio.h> using namespace std; class Address { private: string addressLine1; string addressLine2; string city; string state; int pincode;
public:
//Fill your code here
void display(Address obj[], int n){ //Fill your code here } };
------------TEMPLATE END-------------
SAMPLE INPUT AND OUTPUT BELOW
[All text in bold corresponds to input and the rest corresponds to output]
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.