From 8735d802fa3e5ad57c84c28396e3060109595e40 Mon Sep 17 00:00:00 2001 From: devaprasadnm <56536197+devaprasadnm@users.noreply.github.com> Date: Fri, 2 Oct 2020 00:12:46 +0530 Subject: [PATCH] Update phone.cpp --- phone.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/phone.cpp b/phone.cpp index 4774972..3d22957 100644 --- a/phone.cpp +++ b/phone.cpp @@ -1,16 +1,16 @@ #include using namespace std; -struct phone +struct Phone { int area_code,exchange,number; }; int main() { - phone a,b; + Phone a,b; a.area_code=212; a.exchange=767; a.number=8900; - cout<<"Enter your areacode,exchange, and number "; + cout<<"Enter your Areacode,Exchange, and Number "; cin>>b.area_code>>b.exchange>>b.number; cout<<"My number is ("<