SCHEDULE OF CODING WEEK:-
Event Name | Event Date | Gone through the resources |
---|---|---|
Orientation | 09/05/2021 | Yes |
Open Source | 10/05/2021 | Yes |
Competitive Coding | 11/05/2021 | Yes |
Design | 12/05/2021 | Yes |
Game Development | 13/05/2021 | No |
Web Development | 14/05/2021 | Yes |
Machine Learning | 15/05/2021 | No |
App Development | 16/05/2021 | Yes |
#include <iostream>
#include <string>
using namespace std;
int main()
{
string name;
cout<<"Enter your full name :- ";
getline(cin,name);
int sum_ascii = 0;
for(int i =0;i<name.length();i++)
{
if(name[i]!=' ')
{
sum_ascii +=(int)name[i];
}
}
cout<<"SUM of ASCII values of your FULL NAME is "<<sum_ascii<<"\n";
return 0;
}
hi everyone. I have interest in programming .i have taken part in this event to gain something and for fun also with some interesting things.i also explore the languages c and c++.