๐—–๐—ฆ ๐—”๐—น๐—ด๐—ผ ๐Ÿ’ป ๐ŸŒ ใ€Ž๐—–๐—ผ๐—บ๐—ฝ๐—ฒ๐˜๐—ถ๐˜๐—ถ๐˜ƒ๐—ฒ ๐—ฃ๐—ฟ๐—ผ๐—ด๐—ฟ๐—ฎ๐—บ๐—บ๐—ถ๐—ป๐—ดใ€
9.52K subscribers
5.56K photos
3 videos
95 files
9.68K links
๐ŸšฉMain Group - @SuperExams
๐Ÿ“Job Updates - @FresherEarth

๐Ÿ”ฐAuthentic Coding Solutions(with Outputs)
โš ๏ธDaily Job Updates
โš ๏ธHackathon Updates & Solutions

Buy ads: https://telega.io/c/cs_algo
Download Telegram
#include<iostream>
#include<string>
#include<cmath>

using namespace std;

bool isVowel(char ch) {
    if(ch == 'a' ch == 'e' ch == 'i' ch == 'o' ch == 'u') {
        return true;
    }
    return false;
}

int main() {
    string Str;
    cin >> Str;

    string binaryString = "";
    for(char ch : Str) {
        if(isVowel(ch)) {
            binaryString += '0';
        } else {
            binaryString += '1';
        }
    }
    int decimalValue = 0;
    int n = binaryString.length();

    for(int i = 0; i < n; i++) {
        if(binaryString[i] == '1') {
            decimalValue += pow(2, n - i - 1);
        }
    }
    cout << decimalValue << endl;

    return 0;
}

Providence C++โœ…
๐‚๐จ๐ฆ๐ฉ๐š๐ง๐ฒ ๐๐š๐ฆ๐ž: Unisys

๐‘๐จ๐ฅ๐ž: Associate Development Engineer

๐๐š๐ญ๐œ๐ก ๐ž๐ฅ๐ข๐ ๐ข๐›๐ฅ๐ž: 2021, 2022 and 2023 grads.

https://jobs.unisys.com/us/en/job/REQ549425/Associate-Development-Engineer