Update appNew update is available. Click here to update.
About
I am Brahmadev Manik Ghugare I'm Current student of Annasaheb Dange college of engineering and technology Ashta & purchasing B. tech degree in Computer science and engineering I'm current In last yea...
Annasaheb Dange College of Engineering and Technology, Ashta 2024
My Stats
EXP gained
yellow-spark
546
Level
4 (Scholar)
Community stats
Discussions
0
Upvotes
0
Know more
10
Total problems solved
10
Easy
0
Moderate
0
Hard
0
Ninja
Jan Jan Feb Feb Mar Mar Apr Apr May May Jun Jun Jul Jul Aug Aug Sep Sep Oct Oct Nov Nov Dec Dec

Current streak:

0 days

Longest streak:

2 days

Less

More

Discussions
Find Character Case
Interview problems

#include <iostream>

using namespace std;

 

int main() {

    char n1;

    cin>>n1;

 

    int n=int(n1);

    // cout<<n;

    if(n>=97 && n<=122){

        cout<<"0";

      

    }

    else if(n>=65 && n<=90){

       cout<<"1";

    }

    else{

      cout<<"-1";

    }

    

    

 

  

}

profile
Brahmadev Manik Ghugare
Published On 29-Oct-2023
135 views
0 replies
0 upvotes
Convert String
Interview problems

#include <bits/stdc++.h> 

string convertString(string str) 

{

    string s2;

    int c=0;

    for(int i=0;i<str.size();i++){

 

        if(str[i]==' '){

            c+=1;

        }

        else if(i==0){

            s2+=toupper(str[i]);

        }

        else if(c==1){

            s2+=' ';

            s2+=toupper(str[i]);

            c=0;

        }

        else{

            s2+=str[i];

            c=0;

        }

 

    }

    return s2;

}

profile
Brahmadev Manik Ghugare
Published On 29-Oct-2023
138 views
0 replies
0 upvotes