03.10.2017, 00:24
alguem pode me ajudar a deixar essas linhas em uma se for possivel.
Код:
if(strlen(inputtext) == 1) format(str, sizeof(str), ".); if(strlen(inputtext) == 2) format(str, sizeof(str), "..); if(strlen(inputtext) == 3) format(str, sizeof(str), "...); if(strlen(inputtext) == 4) format(str, sizeof(str), "....); if(strlen(inputtext) == 5) format(str, sizeof(str), ".....); if(strlen(inputtext) == 6) format(str, sizeof(str), "......); if(strlen(inputtext) == 7) format(str, sizeof(str), ".......); if(strlen(inputtext) == 8) format(str, sizeof(str), "........); if(strlen(inputtext) == 9) format(str, sizeof(str), ".........); if(strlen(inputtext) == 10) format(str, sizeof(str), "..........);