Temas's Posts
Nairaland Forum › Temas's Profile › Temas's Posts
1 2 3 4 5 6 7 8 9 10 11 12 13 (of 13 pages)
abbakacici: I may being coming to emu this september for my MBA so I want to know if there are acca center in NC. or any other profesional course like cima cfa etc because I want combine my mba with a professional courseguess u not coming for MBA with this English!!!! |
sergio-zlatan:lol |
As a Trained Multifunction printer engineer, printing and copying consume same amount of toner for same coverage area. Then why the quality difference? this might be due to dirt on lens,glass or any irregularity regarding the scanning aspect of the copying. the coy i worked for back then in nigeria uses kyocera machine . believe me if i print and make copy of same document i printed, you CAN'T distinguished between them. regarding difference in price, sincerely i don't know . cos its not like that here in cyprus. price is same for both printing and copying but varies from on service provider to another |
lordZOUGA: cin is not a function and white-space is not a null terminatorhey, i would appreciate when you criticize and give a concrete advise.not criticize to fell like a god writing "cin" like a function is a typo mistake. typical nigerian mentality |
thanks javanian finally resolved it. the issue has nothing to do with isalpha(); after stuffing the net to resolve this , i came across another syntax for getting input from the user "gets()" .i just need to read more on when to use scanf() and gets(). the get() reads white space character in between strings while scanf sees it as a null terminator(from my observation). or better still you can enlighten me on this if you have an idea. am beginning to appreciate c++ more cos with "cin()" i wont have this problem. really appreciate your time |
Thanks for your response, am using the isalpha to make sure the input or text are all alphabet. Will try ur suggestion and get back. |
// cesar cipher in c // code by Temas84 #include <stdio.h> #include <string.h> #define SIZE 1000 int main() { int a,k; printf("CAESAR CIPHER CODED BY TEMAS\n\n" ;char ourinput[SIZE]; int count=0; printf("Please Enter Your text to be Encrypted Or Decrypted\n\n" ;scanf("%s",&ourinput); printf("Please Choose 1 for Encrypting OR 2 for Decrypting\n\n" ;scanf("%d",&a); printf("please Enter the number of shift you want\n" ;scanf("%d",&k); switch (a) { case 1: for(count=0;count<SIZE;count++) { int i; if (isalpha(ourinput[count])) { ourinput[count]= tolower(ourinput[count]); for (i=0;i<k;i++) { if (ourinput[count]=='z') ourinput[count]='a'; else ourinput[count]++; } } } printf("The encrypted data is %s", ourinput); exit(0); break; case 2: for(count=0;count<SIZE;count++) { int i; if (isalpha(ourinput[count])) { ourinput[count]= tolower(ourinput[count]); for (i=0;i<k;i++) { if (ourinput[count]=='a') ourinput[count]='z'; else ourinput[count]--; } } } printf("The Decrypted data is %s", ourinput); exit(1); break; default: printf("wrong selection\n" ;exit(3); } printf("The encrypted data is %s", ourinput); getchar(); return 10; } |
hello house, i have a project am working on presently, its about using C language to encrypt data. the code has been written and working but my problem is this, if i need to encrypt "how are you today" the program only takes the 1st string and encrypt it (how) and neglect the rest, but if the strings are written together like this "howareyoutoday", the program will encrypt it perfectly. please C gurus in the house help!!! |
oyibomoses: the pic i saw look like fisher men trying to cash fish or in a cash fish competitionbut seriously!!!!! Seun needs to put up screening exercise for membership on this site. |
Movingcoil: #include <cstdlib>bro am a novice as well but this is the code in c language i hope it helps. these are the mistakes i was able to see in your code. 1. An if ,else if statement is the best and for testing your conditions. 2.Then the statement should be in the format as shown in my code(i think) 3.float data type i think is the best cos u dealing with decimals here. regards #include<stdio.h> #include<string.h> #include<stdlib.h> float multi(float a,float b) // function prototype { float heightsquare; heightsquare=a*b; return heightsquare; } int main(int argc, char *argv[]) { float weightInKilograms, heightInMeters, bMI; float heightsquare; printf("::::::::::: FROM THE DEPARTMENT OF HEALTH AND HUMAN SERVICES. :::::::::::::\n\n" ;printf(":::::::::::::: Body Mass Index (BMI) CALCULATOR. :::::::::::::::\n\n\n\n" ,printf("enter your weight in kilograms:" ;scanf("%f",&weightInKilograms); printf("\n" ;printf("enter your height in meters:" ;scanf("%f",&heightInMeters); printf("\n" ;heightsquare= multi(heightInMeters,heightInMeters);// function call bMI = weightInKilograms / heightsquare; printf("your weight in Kg is %.1fkg\n",weightInKilograms); printf("your height in meters is %.1fm\n",heightInMeters); printf("your height in square meters is %.1f\n",heightsquare); printf("your body mass index is %.1f\n",bMI); // testing conditions with if then else if if ( bMI < 18.5) { printf("you are underweight\n\n" ;} else if ( (bMI>=18.5) && (bMI <= 24.9)) { printf("your BMI is normal\n" ;} else if ((bMI>=25) && (bMI <= 29.9)) { printf("you are overweight\n" ;} else if ( bMI >= 30 ) { printf("you are obese!!\n" ;} printf("::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::\n" ); printf("DISCLAIMER: Though this calculator is accurate according to the bmi calculation\n" ;printf("but it dosen't put to consideration your body build which may vary the initial gotten result.\n" ;printf("&&&&&&&&:::::::::: APP BUILT BY DIKACHI :::::::::::::&&&&&&&&\n" ;getchar(); return 0; } |
fados4sure: Hw is life in North Cyprus? Like how much BTA will I come along with? I will be coming on SundayLife here is kool.very peaceful island...come with enough cash that can last u for year both for accomodation and feeding cos there is little or no job .schooling is great too if you are coming to EMU dnt knw for other sch. For the BTA I can't tell maybe $2000 should do the trick its only in MMA that u might be ask abt this......good luck happy landing |
9iteman: @WIP,please wht are d documents i need to go with,while goin for my interview at d turkish embassy.i got an admission into EMU, spring semester. Thanks. Bro congrat!!!! search for my post here using my username... I listed all the doc needed and also interview details with the consolar.its nt diffcult like other embassy though.. Schooling here is great.... Come with a lot of cash sha my two pence. |
bigfat01: [size=15pt]O DEAR ...[/size]Reason why i can blame Pep..... Ronald should have least show some respect in this pix.... medicine after death.. he deserved it
|
Chidexmania127: pjls some1 should please answer my questionlmy broda north cyprus is not where u rush come ooo... take ur time .. eat enough naiaj food... get enough dollas in ur pocket and come and enjoy ur studies here... dnt fink u can meet up.. my own opinion though |
jraw: @wip,Greetins. Just wnt to know d chances of high scholarship 4 master in computer engineering in EMU,wen (B.eng-3.68 and diploma 3.85 both in computer engineering) r combined.Is it possble to stay back n hustle as I wouldn't want 2 come bak 2 Nigeria.guy coming here for Msc com engine u wont regret.. am doing same course presently,..... like mr wip7 said this is not a place to hustle 100% studies |
Ezeed: I love this! |
wip7: is not compulsory as NC immigration is not interested that you book roundtrip as a student but Immigration officials in Lagos or Abuja extort student with one way tickets. Also note that you can actually get refund for your other way. You will need to inform the traveling agent or Airline before you buy it and they will let you knoe the procedure. I havde done that alot of times tur Turkish Airline.Good day sir, am already in trnc but having challenges with registration and accommodation!!!!! Pls will luv to meet u out of ur busy schedule. Kindly send ur name and personal phone number to temas842002@yahoo.com Thankz |
hello house, ma sister lost her pin but some1 from the school asked ha to check the status from the homepage i.e student login and we saw her name there!!! does that means she has been given admission? and how can we get another scratch card for the pin!! please help ooo omo yi ti pee ni ile oooo @oga dotmond help me oooo |
hello house, ma sister lost her pin but some1 from the school asked ha to check the status from the homepage i.e student login and we saw her name there!!! does that means she has been given admission? and how can we get another scratch card for the pin!! please help ooo omo yi ti pee ni ile oooo @oga dotmond help me oooo |
evanscami: okay tnx,ll jst use ma aunt agent! Wen r u leavin?? Nd wen did u buy d ticket?LEAVING 9TH SEPT.....YESTERDAY |
evanscami: hello Temas! Plz am a girl nt boy :-) thanks 4 d info,do u mean 1 xtra luggage is $150 or jst 1kg of d xces luggage?? have nt bought ma ticket yet so dnt kno hw much d ticket costs.since you went there,how much did u buy?? 4 d round trip,i fink its open 4 1yr!sorry for the sex mixed up..lolz ok any extra kg apart from the 56kg will attract a fee of $150........got my ticket for 251k round-trip opened for one month but u can check with a guy here on the forum.....08155552510 he promised to get a cheap one for for 10k or thereabout less from 251k. u can call me on 08026158709 |
evanscami: @ mr wip and all that have travelld in turkish flight! Pls önly those that have travelld in turkish flight and are sure...how many kg do they accept for economy class of course..plss i need quick ans..how many kg do they accept for their luggages?? And how much do you think they will be collecting for like 2 additional luggages<pls estimation>?? Tnx all!Bro I was at there office yesterday to book. U have 2luggage of 23kg each plus one have luggage of 10kg. Any addtional kg will cost you $150!!! Please how much did u get ur ticket? One way or roundtrip and if round trip opened for how many mnths |
To God be the glory!!! Got my visa today. thanks to everybody on this forum that made it possible. |
Omo no be small tin ooo Went for the interview today..... This is for Msc student ooo Got to the embassy 7am embassy opens by 9am Appointment number doesn't really matter. its first com first serve A guy collected my docs and arrange accordingly he also asked for the originals of my undergrad docs Was called in by one of the security guys Sat down inside waiting for my turn to meet the consular Nw to the consular Me....good am sir Consular..good am Consular..have ur sit Me...thank you Consular...can I have ur application.he meant my docs Me...gave them to him Consular...on wat purpose are u going to turkey Me...studies sir Consular....wat sch Me..EMU Consular.brought our a file checked my name the wrote sumtin on my visa applicatuon form. How much did u pay Me....$3000 Consular...wat are u going there to study Me....msc physics option of bio medical optics Consular...wic sch did u finish from here in nigeria and wat year Me....university of lagos Akoka 2008 Consular..Can I see the original of ur university certificate? Me...gave it to him Consular....wats ur date of birth Me...told him Consular...wat dos ur father do Me...lied ...civil servent... Consular ...wic ministry... Me ministry of environment... Consular....can I have N10000 ur application fee? Me gave it to him Consular...ur application will be processed ,come back tomao for ur passport......end of story...will update here again how it goes tomao..hop it helps those that might be going next..if fact EMU candidate no get wahala...pardon me for any typo error |
Dbebo: TURKEMBABUJA@GMAIL.COM@blissbay, I fink its visa.turkembabuja@gmail.com |
@oga wip, please how long does it take to get an appointment with the turkish embassy? Just applied yesterday. thanks |
wip7: Your name is on number 7. Kindly apply for appointment at the Turkish embassy. |
wip7: Your name is on number 7. Kindly apply for appointment at the Turkish embassy.Thank you sir!!! |
wip7: FIRST BATCH OF NAMES HAS BEEN SENT TODAY TO TURKISH EMBASSY, EMUThanks for the info sir !!! Been waiting for this for a long time. Kindly help me check if my name is included in the list sent. Asagunla Temitope |
Will be going to bro.still trying to gather my doc from my uncle as per sponsorship stuff.I might go to abuja towards ending of july.pls let me knw how it goes at the embassy.all the best. |
;