Blogger Text

My Aim to Provide you quality contents, Tips & Tricks, Software, Microsoft Office, Graphic Editing (Adobe PhotoShop, After Affects, Illustrator, inDesign) Corel Draw, Corel Video Studio, Cyberlink PowerDirector, Power ActionCinema, Tutorials about Blogging and VU Assignments, Quizes & GDB Solutions and Much More... at regular Basis
                                     ***    Kindly Subscribe our Official YouTube Channel "INFOPALACESS OFFICIAL-Tuts: in this channel we upload Programming (C,C++,C# JAVA, PHP), Web Development, Graphics Editing and Microsoft Office Step by Step Tutorials from bigginer to Advance Level. We also provide free online courses at our YouTube Channel. ***   Graded Assignments/Quizes and GDB will start in Next Week. Solution ideas of All assignments, Quizes and GDB will be available here. If you have any problem regarding this then you can contact us.

CS201 Assignment 2 Solution Spring 2018

CS-201 Assignment No 2 Solution Spring 2018

Here, I am providing you "Solution of CS201  Assignment No 2 due date is 23-05-2018


Note: Please don't make exact copy of this document and make Changes in this assignment, write it in your own words always correct any errors if you found. I am not responsible for zero Marking.




Update:  If you want  to source file in docx format then just visit the link given below to download Solution file of CS-201





How to Download the File :           Watch video below to see the steps to download file  

Instructions 
Steps 1: Click at link given above
   2:  Enter Captcha Code  
   3:  Wait for 8 Seconds
   4:   Click at Link Generated below             the captcha box
   5:   That's it. You have downloaded

Note: We guarantee you that our site is 100% Malware and virus free so please Please Disabled your Ad-blocker to  Download the file from our site..


      
          
If you still facing any problem then please let me know about your problem regarding downloading file and leave a comment below because your feed back is very important to us to make our website more reliable and useful. 




CS201 Assignment No. 2 Solution is given below;


// for more information and assignment       www.infopalaces.blogspot.com

#include <iostream>
using namespace std;

void computeUserLevel (char *) ;

int main()
{
char Y [4];
for (int k=0; k<=0; k++)
{
cout<<"arrays and pointers are same : ";
cin>> Y[0];
cout<<"switch is a loop  : ";
cin>> Y[1];
cout<<"pointers store memory addresses  : ";
cin>>Y[2];
}
computeUserLevel(Y);
return 0;
}
void computeUserLevel (char *ptr)
{
if (*ptr == 'f' && *(ptr+1) == 'f' && *(ptr+2) == 't')
{
cout<<"your level is Advance";
}
else if (*ptr == 't' && *(ptr+1) == 'f' && *(ptr+2) == 't')
{
cout<<"your level is Intermediate";
}
else
cout<< "your level is Beginner";
}

Note:  This is a solution idea , if You found any mistake then correct it yourself.

Post a Comment

0 Comments