Code:
#include <iostream>
#include <cmath>
class AbstractResistor
{
public:
virtual double
#include <iostream>
#include <cmath>
class AbstractResistor
{
public:
virtual double
>>> li=[4,5]
>>> map(str,li)
Traceback (most recent call last):
File "<pyshell#1>", line 1, in <module>
map(str,li)
TypeError: 'str' object is not callable
def readmat(r,c):
for i in range(r):
list=[]
str=raw_input()
templist=str.split()
raw=map(int,templist)
list.append(raw)
return list
def product():
list=[]
for i in matA:
sublist=[]
print i[3],matB[1][1]
for x in range(3):
sum=0
for e in range(4):
#include<stdio.h>
#include<stdlib.h>
char a[100]={'\0'},key[4];
package javaapplication30;
import java.math.BigDecimal;
public class Main {
public static void main(String[] args) {
Main a=new Main();
BigDecimal sum=new BigDecimal(0);
for(int i=3;i<=100;i++){
sum=a.R(i).add(sum);
}System.out.println(sum);
#include<stdio.h>
void finder(int x,int y);
int max=0;
int tot;
int a[15][15]={{75},{95, 64},{17, 47 ,82},{18 ,35 ,87 ,10},{20, 04, 82 ,47 \
,65},{19 ,01, 23 ,75, 03, 34},{88 ,2, 77 ,73, 7, 63, 67},{99 ,65, 4 ,28, 6,\
16, 70, 92},{41 ,41 ,26, 56 ,83 ,40, 80 ,70, 33},{41,
#include<stdio.h>
#include<string.h>
#include<stdlib.h>
void savefile(char *p);
int main(){
savefile("c proramming");
}
void savefile(char *p){
FILE*fp;
fp=fopen("result.txt","w");
if(fp==NULL){
printf("error");
exit(0);
}
strcat(p,"\n");//line
#include<stdio.h>
#include<ctype.h>
#include<string.h>
struct customer readCustomer();
struct slot readSlot();
struct slot{int day,period;};
struct customer{
char name[50],tel[10], paidOrNot[8];};
struct booking{
char freeOrNot;//if not free, gives
Leave a comment: