One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
# -*- coding: utf-8 -*- | |
import random | |
def rd_string(length): | |
""" | |
Criando Strings aleatórias usando casting | |
""" | |
str_rd = "" | |
while(len(str_rd)<=length): | |
str_rd += '%c' % random.randint(97,122) |
function find (Ob,str) { | |
for (var key in Ob) { | |
if (Ob.toString()== str) { | |
//get indexof() | |
} | |
find(Ob[key],str); | |
} | |
} |
#include <stdio.h> | |
#include <limits.h> | |
#define N_ALUNOS 6 | |
/// ESSE DEFINE é mesmo que constante so que com conceito diferente (procura) | |
/*********************************************** | |
TODAS AS MODIFICAÇÕES ACOMPANHAM COMENTÁRIOS ! | |
************************************************/ |
#include <stdio.h> | |
#include <string.h> | |
#include <stdlib.h> | |
#define T_STRING 50 | |
// monta um registro de um aluno | |
struct Aluno{ | |
char nome[T_STRING]; | |
int nota[3]; | |
float media; | |
}; |
A Pen by Isvaldo Fernandes de Souza on CodePen.